Tehran became the capital of Iran, in 1795, when Agha Mohammad Khan, became King. It is still the capital. During the reign of Agha Mohammad khan, the government headquarters were built north of "Emam_zade Zayd". Agha Mohammad Khan became King of Iran in "Khalvat Karimkhani Palace" in Tehran. During the reign of Fath Ali Shah, the soltani mosque, the Abbas_abad bazaar, and the Ilchi garden (the site of today`s Russian embassy) were added. Nasser_e_din_Shah changed the palace from center of Tehran to Sadabad. He changed the view of Tehran from a town to a modern capital.