Ottoman–Safavid War (1578–1590)

[5] The Safavids, who were left unable to conduct effective campaigns on both the eastern and western fronts, were met with repeated setbacks that forced them back into Iran's heartlands.

[3] Shirvan fell before the end of the summer of 1578, by which fact the Ottomans had now control of almost all territories west of the Caspian Sea coast, and it also opened the way for an attack on what is nowadays the core of Armenia and Azerbaijan, which were subsequently attacked in 1579 by a large contingent of Crimean Tatars, led by Adil Giray,[3] but he was captured in a remarkable counterattack led by Mirza Salman Jaberi and Hamza Mirza, and later executed in Qazvin, the Safavid capital at that time.

[3] As a result of this, the Georgian princes which had fallen under Ottoman rule several years before, now changed their allegiance back to Safavid Iran, which they demonstrated by killing large numbers of Sunnis.

At the time he took over, all Iranian provinces in the Caucasus, Mesopotamia, Anatolia, and even in western Iran were occupied by the Ottomans, while the Uzbeks had seized swaths of its eastern territories.

[3] Therefore, in order to settle matters at home first and to defeat the Uzbeks, he decided to sign a humiliating peace treaty on 21 March 1590, by which the war ended.

[8] By ceding many of its integral regions to the Ottomans, Abbas could settle matters in his crumbling state first, which had been neglected for so long by his father Mohammad Khodabanda.

[3] After having the matters settled and the state and military significantly reorganised, Abbas would declare war again on the Ottomans in 1603, crushingly defeating them and reconquering all lost territories by the Treaty of Istanbul.