of Iranian Azerbaijan. This connection was still apparent during the time of the early Safavids, who were descended from Safi-ad-din Ardabili (died 1334), a disciple of Zahed Gilani (died 1301), who was of probable Talysh descent. Two out of the four Sufi teachers of the first Safavid monarch Shah Ismail I () carried the epithet "Talishi". Other figures with the same epithet served as governmental officials under the Safavids and their successors. Several Talysh chieftains were one of the first supporters of the Safavids, who gave them the governorship of Astara, which was part of the province of Azerbaijan. The governor of Astara was also known as the hakem (governor) of Talish, which indicates that Astara was the capital of the district. From 1539 and onwards the governorship of Astara was held hereditarily by the family of Bayandor Khan Talesh. Talish was composed of various fiefs which would sometimes be granted to other emirs than the governor of Talish. For instance, Mohammad Khan Torkman was given control over a number of fiefs in Talish and Mughan in 1586. Later in 1684, Safiqoli Khan was one of the officers in control of Lankaran, and Hoseyn was another. Meanwhile, the unnamed governor of Talish lived in Ardabil. The Safavid shahs (kings) of Iran attempted to control local Talysh chiefs by subordinating them to obedient officials. Nevertheless, despite their centralization strategy, the Safavid administration was unable to terminate the local autonomy in the South Caucasus. Officially, the local chiefs were not hereditary lords, but officials whose rank were acknowledged by a royal firman which in reality was an acceptance of their local autonomy. The familial succession of the chiefs gave rise to dynasties that dominated local affairs and sought to consolidate their influence whenever the national government weakened. During the decline of Safavid rule in the early 18th-century, Talysh leaders attempted to establish autonomous principalities. During the Russian invasion of Iran, the people of Talish volunteered to fight for the Safavid prince Tahmasp II. The latter was unable to provide them with military or material support; all he could do was give them an ineffective permit that allowed them to collect the taxes of Rasht. In 1723, Russians and Ottomans agreed to divide northern and western Iran between themselves. While the Caspian provinces were under Russian control, one of the local leaders Mir-Abbas Beg, who claimed to be a seyyed (descendant of the