Qazvin has been a hotbed of historical developments in Iranian history. In the early years of the Islamic era Qazvin served as a base for the Arab forces. Destroyed by Genghis Khan (13th century), the Safavid monarchs made Qazvin the capital of the Safavid empire in 1548 only to have it moved to Isfahan in 1598. During the Qajar Dynasty and contemporary period, Qazvin has always been one of the most important governmental centers due to its proximity to Tehran. Abbas Mirza, a Crown Prince and Minister of Commerce, was also the governor of Qazvin.