they did in many parts of Iran. According to the Iranian Azerbaijani historian Ahmad Kasravi, more Muslims settled in Azerbaijan compared to other provinces due to the province's plentiful and fertile pastures. Local revolts against the Caliphate were common and the most famous of these revolts was the Persian Khurramite movement. Abbasids and Seljuks After the revolt of Babak Khorramdin, who was a Zoroastrian of neo-Mazdakite background, the Abbasid caliphate's grip on Azerbaijan weakened, allowing native dynasties to rise in Azerbaijan. Azerbaijan was taken over by the Kurdish Daisam and the Sallarid Marzuban, the latter united it with Arran, Shirvan, and most of Eastern Armenia. After confrontations with the local Dailamite and Kurdish populations who had already established their own dynasties and emirates in different parts of Azerbaijan, the Seljuks dominated the region in the 11th and early 12th centuries, at which point the linguistic Turkification of the native Iranian populations began. In 1136, Azerbaijan fell to the Atabakan-e-Azerbaijan and Atabakan-e-Maragheh. It was later invaded by the Khwarizm Shah Jalal ad-din who held Azerbaijan until the advent of the Mongol invasions. In the early years of the 13th century, large parts of Azerbaijan were conquered by the Kingdom of Georgia, at the time led by Tamar the Great. Under the command of the brothers Zakaria and Ivane Mkhargrdzeli, the Georgians conquered Ardabil and Tabriz in 1208, and Qazvin and Khoy in 1210. Mongols and Turkmens The Mongols under Hulagu Khan established their capital at Maragheh. The book Safina-yi Tabriz describes the general state of Tabriz during the Ilkhanid period. After being conquered by Timur in the 14th century, Tabriz became an important provincial capital of the Timurid empire. Later, Tabriz became the capital of the Kara Koyunlu empire. Safavid, Afshars and Qajars and loss of the adjacent Caucasian territories It was out of Ardabil (ancient Artavilla) that the Safavid dynasty arose to renew the state of Persia and establish Shi'ism as the official religion of Iran. Around the same time, the population of what is now Azerbaijan and Iran were converted to Shiism, and both nations remain the only nations in the world with a significantly Shia majority, with Iran having the largest Shia population by percentage, with the Republic of Azerbaijan having the second-largest Shia population by percentage. After 1502, Azerbaijan became the chief bulwark and military base of the Safavids. It was the chief province from which the