For over two hundred years, Georgia's history was closely interwoven with that of the Safavid dynasty of Iran. Founded by Shah Ismail I (1502–1524), the Safavids, at their height, controlled Iran, Iraq, Azerbaijan, parts of Armenia, Georgia and Afghanistan. The early Safavid Shah, especially Tahmasp (1524-1576), actively campaigned against Georgian kingdoms, seeking wealth and political influence in the region. Shah Abbas I (1588–1629) brought the Safavid dynasty to its height and played a crucial (but destructive) role in Georgia where he campaigned repeatedly in early 17th century. He resettled tens of thousands of Georgians to Iran where they eventually played one of the leading political roles. The early 18th century saw economic and political decline of the Iranian state which culminated in the Afghan invasion in 1722. The last Safavid ruler, Shah Tahmasp II (1722–1732), was overthrown by the military commander Nadir Khan Afshar in 1736.
Safavid flag under Shah Ismail (1501-1524)
Safavid flag under Shah Tahmasp (1524-1576)

Safavid flag under Shah Ismail II and his successors (1576-1736)