Mustafa IV

Son of Abdülhamid I. He was placed on the throne by the Kabakçı Mustafa uprising and reigned for about fourteen months. When Alemdar Mustafa Pasha entered Istanbul he ordered the killing of Selim III and of his brother Mahmud; he was deposed and killed a few months later.

7 min readUpdated: 20 November 2026

Mustafa IV’s reign lasted about fourteen months. He was put on the throne by an uprising, was removed from it by another show of force, and was killed a few months later. Historians long portrayed him as an enemy of reform; the TDV İslâm Ansiklopedisi, however, argues that this judgement needs correcting.

His princehood

Mustafa was the son of Abdülhamid I and Ayşe Sîneperver Sultan. He was born on 8 September 1779. According to the TDV, he was raised in the palace with a classical education; together with his brother Mahmud he took part in his father’s inspection trips in the city and so tried to get to know the world outside the palace.

When his father died in 1789, his cousin Selim III took the throne. According to the TDV, he received affection from Selim, who had no children, and led a comfortable princely life. Turkish Wikipedia also writes that he lived freely in the palace throughout Selim’s reign.

According to the TDV, however, Mustafa had been among the opposition to Selim since his princehood: his close associates, including his sister Esma Sultan, were working for his accession, especially among the Janissaries. The TDV writes that Selim, gentle by nature, took no measures against these activities.

Accession

The Kabakçı Mustafa revolt, which broke out in May 1807, deposed his cousin Selim III, and on 29 May 1807 Mustafa IV was put on the throne. According to Turkish Wikipedia, he was 28 years old when he took the throne. According to the TDV İslâm Ansiklopedisi, by a document (hüccet) dated 31 May 1807 the aghas of the corps promised not to interfere in affairs of state; the sultan, for his part, swore that the rebels would not be questioned. Turkish Wikipedia notes that this agreement was something not previously encountered in Ottoman history.

According to the TDV, it was soon seen that this document served no purpose: those who had brought about the change of sultan went on interfering in affairs of state and forcing through what they wanted.

A period of turmoil

According to Turkish Wikipedia, the Nizam-ı Cedid (the new army founded by Selim III) was abolished on 1 June 1807; its army was dispersed, and its supporters fled Istanbul or were caught and punished. The leaders of the revolt, on the other hand, were given important posts: Kabakçı Mustafa became superintendent of the Rumelian fortresses.

According to the TDV, Mustafa IV’s reign passed in such great turmoil and disorder that it soon led to regret over Selim’s deposition. The Russian war that had begun in 1806 was then going on. According to the TDV, the events in Istanbul spread to the front too: the Janissaries rebelled, the grand vizier was chased away and the army’s leaders fled. This disorder in the army led to great weakness against the Russians. A one-year armistice (mütareke) was made at Slobozia on 24 August 1807, but according to the TDV this time was used not to end the war successfully but for settling internal accounts.

Alemdar Mustafa Pasha

One of the powerful ayan (local governors) of Rumelia in this period was Alemdar Mustafa Pasha. Alemdar was the ayan of Rusçuk and in February 1807 had received from the state the rank of vizier and the governorship of Silistra. According to the TDV, statesmen of the former period who wanted to put Selim back on the throne gathered around him; this group is called the “Rusçuk yaranı” (the friends of Rusçuk).

Alemdar marched on Istanbul with his army and reached the city on 19 July 1808. According to the TDV, Kabakçı Mustafa was killed the same day on his order. Turkish Wikipedia writes that Alemdar came with an army of 16,000. According to the TDV, order was established in the city, and Şeyhülislam Ataullah Efendi, one of the architects of the revolt, was dismissed.

The killing of Selim and the deposition

According to the TDV, while Alemdar’s associates were watching for the chance to put Selim back on the throne, Mustafa IV’s men were looking for ways to have Selim killed. Alemdar finally raided the Sublime Porte, arrested the grand vizier and headed for the palace; through the şeyhülislam he asked the sultan for Selim’s restoration to the throne.

As Alemdar’s forces approached the palace, Mustafa IV had the palace gates closed. According to the TDV, he ordered the killing of both his cousin Selim III and his brother Mahmud. On 28 July 1808 Selim III was killed, but Mahmud escaped. The TDV writes that Mahmud survived wounded; Turkish Wikipedia describes him being carried off to the palace roof by female slaves (cariyes) and servants. According to the TDV, it is also related as tradition that Mustafa attacked Mahmud himself to kill him.

Entering the palace, Alemdar found Selim dead. Mustafa IV was then deposed and his brother Mahmud II was put on the throne. According to the TDV, Mahmud took the throne as the last surviving male member of the dynasty. It is reported that Mustafa muttered, “I did not step down, who put Mahmud up?”

His death

Alemdar Mustafa Pasha became grand vizier, but his grand vizierate did not last long. According to the TDV, Mustafa, shut up in an apartment in the palace at this time, did not refrain from sending word outside for his restoration to the throne. Alemdar died during the Janissary uprising that began on the night of 15 November 1808. During this disorder, when the rebels wanted to march on the palace, Mustafa IV was strangled on 17 November 1808 by order of his brother Mahmud II. According to the TDV, he was buried in his father Abdülhamid I’s tomb at Bahçekapı.

According to the TDV, rumours also circulated among the rebels that the coffin was empty and that, if Mahmud’s sultanate were not accepted, someone else could be put on the throne.

How do historians assess him?

Turkish Wikipedia describes Mustafa IV as a sultan of a petulant and cruel nature, who caused chaos in the country through his ambitions and went down in history for his attitude towards the reform movements. According to the TDV too, almost all historians characterise him as a man of weak judgement, ambitious for the sultanate and “a partisan of the old order”.

Kemal Beydilli, the author of the TDV article, however, is of the view that these epithets are “not compatible with the truth”. According to him, Mustafa IV was deposed before he had the chance to do anything showing his attitude to reform; it is not possible to give a definite answer to the question whether he would have followed his cousin’s path or a reforming path like his brother Mahmud II’s. Beydilli writes that there are “strong signs” that he too would have tried to continue the work of renewal:

  • He took harsh measures against those who caused unrest in the city, without regard to whether they were Janissaries.
  • He considered stationing trained soldiers in the Artillery Barracks at Taksim.
  • He took a close interest in the state of the mühendishane (engineering school) and had a new kanunname prepared for the school.
  • According to a source the TDV reports, he secretly supported the idea of reviving the Nizam-ı Cedid.

Turkish Wikipedia also notes that Mustafa IV occupied himself with calligraphy and that he was one of the sultans who stayed on the throne for the shortest time after Murad V.

Why does it matter?

In 1807–1808, within a year and a half, the sultan changed twice and two sultans were killed. What was decisive in these events was the Janissary and yamak (auxiliary soldiers of the Bosphorus fortresses) rebels in Istanbul and an ayan who came from the provinces with his army. This shows a period in which even sultans could be left under the pressure of these forces. Mustafa IV’s story is also an example of how a settled historical judgement can be questioned by new research.

Events

  1. DynasticPoliticalSelim III is killed; Mahmud II accedes to the throneWhen Alemdar Mustafa Pasha, the ayan (provincial notable) of Rusçuk, came to Istanbul with his army and approached the palace, Mustafa IV ordered the killing of Selim and of his brother Mahmud. Selim was killed; Mahmud survived and was placed on the throne.

Related

Sources

  1. Kemal Beydilli, "Mustafa IV", TDV İslâm Ansiklopedisi, Türkiye Diyanet Vakfı İslâm Araştırmaları Merkezi (İSAM), c. 31, s. 283-285 (accessed: 18 Nov 2026)
  2. IV. Mustafa, Vikipedi, Özgür Ansiklopedi (Türkçe), Wikimedia Foundation (accessed: 18 Nov 2026)
  3. Kemal Beydilli, "Alemdar Mustafa Paşa", TDV İslâm Ansiklopedisi, Türkiye Diyanet Vakfı İslâm Araştırmaları Merkezi (İSAM), c. 2, s. 364-365 (accessed: 18 Nov 2026)
  4. Alemdar Mustafa Paşa, Vikipedi, Özgür Ansiklopedi (Türkçe), Wikimedia Foundation (accessed: 18 Nov 2026)