capital and Emam Qoli Khan, the governor of Fars under Shah Abbas I, constructed many palaces and ornate buildings in the same style as those built during the same period in Isfahan, the capital of the Empire. After the fall of the Safavids, Shiraz suffered a period of decline, worsened by the raids of the Afghans and the rebellion of its governor against Nader Shah; the latter sent troops to suppress the revolt. The city was besieged for many months and eventually sacked. At the time of Nader Shah's murder in 1747, most of the historical buildings of the city were damaged or ruined, and its population fell to 50,000, one-quarter of that during the 16th century. Shiraz soon returned to prosperity under the rule of Karim Khan Zand, who made it his capital in 1762. Employing more than 12,000 workers, he constructed a royal district with a fortress, many administrative buildings, a mosque, and one of the finest covered bazaars in Iran. He had a moat built around the city, constructed an irrigation and drainage system, and rebuilt the city walls. However, Karim Khan's heirs failed to secure his gains. When Agha Mohammad Khan, the founder of the Qajar dynasty, eventually came to power, he wreaked his revenge on Shiraz by destroying the city's fortifications and moving the national capital to Tehran. Although lowered to the rank of a provincial capital, Shiraz maintained a level of prosperity as a result of the continuing importance of the trade route to the Persian Gulf. Its governorship was a royal prerogative throughout the Qajar dynasty. Many of the famous gardens, buildings and residences built during this time contribute to the city's present skyline. Shiraz is the birthplace of the co-founder of the Baháʼí Faith, the Báb (Siyyid 'Ali-Muhammad, 1819–1850). In this city, on the evening of 22 May 1844, he first declared his mission as the bearer of a new divine revelation. For this reason Shiraz is a holy city for Baháʼís, and the city, particularly the house of the Báb, was identified as a place of pilgrimage. Due to the hostile climate towards Baháʼís in Iran, the house has been the target of repeated attacks; the house was destroyed in 1979, to be paved over two years later and made into a public square. In 1910, a pogrom of the Jewish quarter started after false rumours that the Jews had ritually