TRENDEFRARAtlas of the Sultans · Wars, battles and treaties

Siege · 1623

Ottoman–Safavid War (1623–1639)

Murad IV1623–1640

As central authority weakened after Ahmed I, revolts broke out in Baghdad; the Janissary officer Bekir Subaşı made contact with Shah Abbas. Realising he had been deceived when he came to take over the city, Shah Abbas besieged Baghdad in July 1623. During the three-month siege famine set in and Bekir Subaşı died; his son Derviş Mehmed, to whom Shah Abbas had promised the governorship, surrendered the inner citadel to the Safavids on 28 November 1623. According to the TDV encyclopedia, Shah Abbas, breaking his word, treated the Sunni population cruelly and had the tombs of Abu Hanifa and Abd al-Qadir al-Jilani destroyed.

About the event

DateJuly – 28 November 1623
LocationBaghdad
ResultBaghdad passed to the Safavids and stayed in their hands until 1638
BelligerentsSafavid IranOttoman Empire
CommandersShah AbbasBekir Subaşı
Derviş Mehmed

Causes

The weakening of central authority after the death of Ahmed I meant that revolts in the province of Baghdad, close to Iran, could not be easily suppressed. The power struggle between the Janissary officer Bekir Subaşı and Mehmed Kanber, commander of the azebs, went so far that on the death of Governor-General Yusuf Pasha the inner citadel fell into the rebels' hands. Hafız Ahmed Pasha, governor-general of Diyarbekir, was sent against them; when Safi Kulı Khan, the Safavid governor of Hamadan who had come to aid Bekir Subaşı, threatened that the peace would be broken, he hastily appointed Bekir Subaşı governor-general, whereupon Bekir drove the pro-Iranian faction out of the city.

Consequences

After the fall of the city, the Sunnis who survived the massacre were expelled from Baghdad, and mosques and madrasas were turned into stables. Despite the young age of Murad IV and the turmoil in Istanbul, the Ottoman state moved to recover the city: Hafız Ahmed Pasha besieged Baghdad from 13 November 1625 to 3 July 1626, but just as the Iranians were about to surrender, disease and exhaustion in the army prevented it. A second siege of forty days under Hüsrev Pasha also failed.

Historical significance

The loss of Baghdad left the centre of Iraq, taken by Suleiman the Magnificent in 1534 and recognised as Ottoman by the Treaty of Amasya in 1555, in Safavid hands for fifteen years. That a provincial revolt opened the door to foreign intervention clearly showed the consequences in the provinces of a period when central authority had been shaken. Recovering the city became one of the main goals of Murad IV's reign and was achieved only with the great campaign of 1638.

These sections are based on the following articles of the TDV Encyclopedia of Islam (TDV İslâm Ansiklopedisi): BAĞDAT, MURAD IV

This event in the atlas

Took place during the reign of Murad IV (1623–1640). Murad IV

The atlas records this territorial change for the year:

Open the reign of Murad IV on the map

Context of the period

By the atlas's calculation the Ottoman lands covered about 4,824,000 km² in 1623; at the start of Murad IV's reign they measured 4,974,000 km², at its end 4,774,000 km².

During Murad IV (1623–1640) the atlas records 1 region gained and 3 regions lost.

Regions gained: Baghdad–Basra (1638).

Regions lost: Baghdad–Basra (1623), Sana'a (1629), Yemen–Asir (1635).

Murad IV in brief

He restored the authority of the state with harsh, even ruthless methods and retook Baghdad. The eastern border he drew at Zuhab (Kasr-ı Şirin) is still largely in force four centuries later.

Other battles and treaties of Murad IV

In nearby years (1621–1622), under other sultans

Areas are land area computed from the atlas's region data; see Method and sources.

Source: TDV Encyclopedia of Islam, “BAĞDAT” (Abdulaziz ed-Duri et al.) (Turkish); text written for the atlas. See also: Robert Mantran (yay.), Histoire de l’Empire ottoman (Paris: Fayard, 1989), p. 389.

Cite as: Atlas of the Sultans, “Ottoman–Safavid War (1623–1639): Date, Commanders and Outcome”, https://padisahlaratlasi.com/en/events/ottoman-safavid-war-1623-1639/ (last updated 29 November 2026). Corrections · Image credits

Terms on this page: Kadi · Janissaries