Safavid Iran sat between two hungry neighbors. To the west lay the Ottoman Empire, Sunni, wealthy and expanding. To the northeast lay the Uzbeks, Sunni Turkic rulers of Central Asia, who coveted the rich province of Khurasan with its cities of Herat and Mashhad. Much of the dynasty's first century was spent fighting on both fronts at once, and the outline of Iran's borders owes a great deal to those wars.
Victory in the east
The Uzbek leader Muhammad Shaybani Khan had swept the last Timurid princes out of Central Asia and taken Herat. In 1510 Ismail defeated and killed Shaybani Khan near Merv. Contemporary accounts report that the shah had the khan's skull set in gold and used as a drinking cup, a gesture of contempt toward an enemy who had mocked his faith. The victory gave Ismail Herat and most of Khurasan, though the Uzbeks would raid and besiege these lands again and again for the rest of the century. Herat itself changed hands several times, and the long struggle helped fix Khurasan as part of Iran while the lands beyond the Amu Darya river stayed under Uzbek rule.
Disaster in the west
The Ottoman sultans feared Safavid preaching among the Turkmen tribes of Anatolia, many of whom looked to the shah rather than the sultan as their spiritual lord, and revolts with Qizilbash sympathies broke out in Ottoman lands. In 1514 an Ottoman army marched east, and at Chaldiran, in what is now northwestern Iran, the two forces met. Ottoman cannon and massed firearms broke the Qizilbash cavalry. The defeat at Chaldiran destroyed the belief that Ismail could not be beaten, and he never again led a major campaign in person. The Ottomans briefly occupied Tabriz but withdrew, and eastern Anatolia was lost to Iran for good.
Chaldiran is often explained as gunpowder against horsemen, and there is truth in that. But the Safavids themselves adopted firearms later in the century, and numbers, leadership and the exhaustion of the armies mattered too. Neat technological stories tend to tidy up messy battles.
A boy king and a tribal free for all
Ismail died in 1524. His son Tahmasp became shah at about ten and reigned until 1576, the longest reign of the dynasty. During his first years, rival Qizilbash chiefs fought one another for control of the young ruler, a decade of civil war in all but name. Tahmasp survived, outmaneuvered his guardians and gradually took power for himself.
His reign brought repeated Ottoman invasions under Suleiman the Magnificent. Tahmasp learned to avoid pitched battles and used scorched earth instead, retreating and destroying crops and wells so that invaders went hungry on the high plateau. Because Tabriz was so exposed to Ottoman attack, Tahmasp moved his capital east to Qazvin in the middle of the century; sources give dates from 1548 to 1555.
The Peace of Amasya
In 1555 Tahmasp and Suleiman agreed the Peace of Amasya, under which the Ottomans kept Iraq, including Baghdad, while Iran kept Azerbaijan. The treaty also allowed Iranian pilgrims to cross Ottoman lands to Mecca and to the Shi'i shrines of Iraq. It was the first formal peace between the two empires and held for about two decades. Its terms roughly sketched a frontier that later wars would move back and forth but never erase.
Piety and politics
Tahmasp grew more austere with age. In the 1530s he made a public act of repentance, renouncing wine and other forbidden pleasures and ordering taverns, gambling houses and brothels closed. He wrote a memoir describing dreams in which the imams guided him. His court also became a place of refuge for princes from neighboring states, and he used such guests as bargaining chips. In 1561 he handed over an Ottoman prince, Bayezid, who had rebelled against his father Suleiman and fled to Iran; Bayezid and his sons were executed in Qazvin by Ottoman agents, and Tahmasp received gold and a firmer peace in return.
Worked example: what a border means
Look at a map of Iran's western border today and you see a line running through the Zagros Mountains, with Iraq and Turkey on the far side. That line was not drawn by geography alone, nor by language: Kurds, Arabs and Azeris live on both sides of it. It grew out of about a century and a half of Safavid and Ottoman war and diplomacy, starting with treaties such as Amasya. Ask three questions of any old border. Who agreed it, and did the people living along it have a say? Here the answer is plain: two monarchs settled it, and the mountain tribes were treated as subjects to be divided. What held it in place? Mostly exhaustion, and the cost of fighting along such a long, poor frontier. And what did it leave behind? A line that cut through communities, so that later states inherited minorities with kin and loyalties across it. Borders look permanent on maps. Their history shows how human, and how negotiable, most of them have been.
