Some of the written sources, says the History of Qom dates back to one of the legendry Kings (Tahmoreth) and they believe Qom had been a creditable city before Islam and It was a big city. In L.H. 23, the city of Qom was conquered by the Islam troops under the leadership of Abu - Muslem Ashari, and It was separated from Isfaham in L.H.189. one of the most important events which took place in the first centuries in Qom which is also considered as one of the most important reasons for Qom development was the immigrations of many sayyids, (Emam,s grandchildren) and the children of the household of the great prophet (s.) to Qom and their religious propogations about shiite. As Emam Reza (a.s.) in L.H. 200 and his sister Hadrat Fatimeh Masoumeh (s.) in L.H. 201 came to Qom, this city was changed to a great center of shiite of the world. Kofei religious schools was replaced by Qom religious schools in the second century, so Qom became one of the oldest center of religion and sciences publications.

As Hadrat Masoumeh (s.) passed away in L.H. 201 and she was buried in a garden called Babelan which was one of the city at that time people made their houses around her holy shrine to use the Holy shrine. From that time on, the buildings on the eastern part of city became deserted and people came to western areas. The Holy shrine is the most important reason for the city development. One of the worst damages to the people of Qom was the Mongols invasion in L.H. 621. Quli Darvish historical hill which is nationally registered was the old residential area of Qom and It was destroyed during Monguls invasion. From ninth century on, finally Qom deconstruction was finished, and reconstruction and a new life was started. Safaviyan made a lot of religious schools like Feiziyeh school, and reconstruction of the Holy shrine of Hadrat Masoumeh (s.) are some of their works. Construction of religious buildings with special and outstanding architecture belongs to this dynasty. New industries like soap making, glass making, reinforced the economy of this city in safavyeh dynasty.
Source: Qom Cultural Heritage and Tourism Organization |