Even after the fall of the Safavids in 1736, their cultural and political influence endured through the era of Afsharid, Zand, Qajar, and Pahlavi dynasties into the modern Islamic Republic of Iran as well as the neighboring Azerbaijan Republic, where Shi'a Islam is still the dominant religion as it was during the Safavid era.