However, al-Ma'mun's successor, al-Mu'tasim, dispatched forces to Qom in order to curb the riots and once again the city was set aflame.
By 1503, Qom became one of the important centers of theology in relation to the Shia Islam and became a vital pilgrimage site and religious pivot.
During the Afghan invasion, the city of Qom suffered heavy damages, and its inhabitants witnessed severe economic hardships.
Qom further sustained damages during the reigns of Nader Shah, and the conflicts between the two households of Zandieh and Qajar in order to gain power in Iran.
On being victorious over his enemies, Fath Ali Shah made repairs to the sepulcher and shrine of Ma'soumeh, fulfilling his vow.
The transfer of the capital from Tehran to Qom was discussed, but the British and Russians demolished the plan by bringing the monarch of the times, Ahmad Shah Qajar under pressure.
Coinciding with this period, a 'National Defense Committee' was set up, and Qom turned into a political and military apex against the Russian and British colonial powers.
Due to being located near an arid region and far inland, it experiences a dry climate, with low humidity and scanty rainfall.
[22][23] Qom has at times again been considered as a possible candidate for moving the political capital of Iran, as Tehran faces an increasing probability of an overdue major earthquake and is notorious for its pollution and traffic congestion.
[citation needed] In 2009 it was disclosed that a mountain range near Qom is the site of Iran's second uranium enrichment facility, containing 3000 gas centrifuges.