TRENDEFRARAtlas of the Sultans · Wars, battles and treaties

Siege · 1638

Ottoman–Safavid War (1623–1639)

Murad IV1623–1640

Baghdad, held by the Safavids since 1623, had at this time been struck by a plague that killed great numbers. According to the TDV article on Baghdad, the city came back under Ottoman rule after a siege that began on 15 October 1638 and lasted forty days. Grand Vizier Tayyar Mehmed Pasha was killed in the siege. As the city was largely ruined, Murad IV had its buildings repaired and restored the tombs of Abu Hanifa and Abd al-Qadir al-Jilani, which the Iranians had destroyed.

About the event

Date15 November – 24 December 1638 (40 days)
LocationBaghdad
ResultBaghdad was recovered and remained Ottoman for good
BelligerentsSafavid IranOttoman Empire
CommandersMurad IV
Tayyar Mehmed Pasha

Causes

Baghdad had been besieged by Hafız Ahmed Pasha in 1625–1626 and by Hüsrev Pasha in 1630, but both attempts had failed. After the Yerevan campaign of 1635, Shah Safi had retaken Yerevan and defeated Küçük Ahmed Pasha's forces near the fortress of Mihriban, yet still sent an envoy to Istanbul to seek peace. Murad IV refused to receive him, declaring that the answer would be given at Baghdad, and before setting out had Prince Kasım, whom he considered a danger, executed. On 8 May 1638 he set out with a large army, accompanied by Şeyhülislam Yahya Efendi and Grand Admiral Kemankeş Kara Mustafa Pasha.

Consequences

The fortress was approached with siege trenches; Kemankeş Kara Mustafa Pasha replaced Tayyar Mehmed Pasha as grand vizier. The fortress commander Bektaş Khan decided to surrender on 24 December 1638, but when word spread that the Iranians were laying mines under the towers, fighting resumed for a day and a night and many Iranians were killed. The sultan had a dyke built on the Tigris and water brought to some quarters; leaving Küçük Hasan Pasha as governor-general, he set out for Istanbul in January 1639 and left the peace negotiations to his grand vizier.

Historical significance

The recovery of Baghdad was the outcome of the second great campaign led by Murad IV in person; under the Treaty of Zuhab (Qasr-e Shirin), signed the following year, the Safavids recognised the city as Ottoman. Later governors of Baghdad devoted themselves to upholding state authority in the region stretching from Mosul to Basra. According to TDV, the Baghdad Pavilion, built at Topkapı Palace to commemorate the conquest and completed in 1639, is among the finest works of art of the 17th century.

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,774,000 km² in 1638; 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 (1645), 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. 230.

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-68/ (last updated 29 November 2026). Corrections · Image credits

Terms on this page: Grand vizier · Vizier · Kadi