About Hafiz Mustafa Agha
Lived 1770 – 1805 (aged 34–35). Hafiz Mustafa Agha was a military personnel.
Hafiz Mustafa Agha (, ; 1770–August 1805), known in historiography as Hafiz-Pasha (, ), was an Ottoman commander of the Sanjak of Niš, notable for participating in the suppression of rebel Janissaries in the Sanjak of Smederevo in the 1790s and appointed the titular Vizier of the Belgrade Pashalik in 1805 in order to suppress the Serbian rebels in the First Serbian Uprising (1804–13).
Mustafa was born into a very poor Muslim family in Niš. As a young man he participated in the Austro-Turkish War (1788–1791), distinguishing himself through courage and appropriate military demeanor. He quickly advanced during the revolt of the Janissaries (who were supported by Osman Pazvantoglu) in the Sanjak of Smederevo in the 1790s, during which he served in the Ottoman unit under the command of Şaşit Pasha of Leskovac . He was appointed mutesellim in Niš and was also promoted to kapıcıbaşı of the Porte, a lower-ranking honorific given to frontier officers. In August 1801, Vali of Rumelia Hakki Pasha suggested that Hadji Mustafa Pasha be transferred to Niš while in his place Hafiz be put as temporary governor until the coming of an able Vali, which shows that Hafiz had great trust, but this was not done.
In March 1804, the Ottoman sultan, on the suggestion of Grand Vizier Yusuf Ziya Pasha, ordered that Bekir Pasha's mission in the Belgrade Pashalik also include Hafiz, whose mission was to cut communications between the Belgrade janissaries and Vidin and to also pacify the Serbs. In 1804, the Serb rebels had great successes and Bekir Pasha failed the mission to pacify the Belgrade Pashalik. According to some accounts, Hafiz protected the Timok–Morava roads and successfully prevented any help to the Dahije from the Vidin Pashalik. After Bekir Pasha asked to be removed from the mission to pacify the Belgrade Pashalik in April 1805, the Porte turned to Hafiz. According to descriptions, he was very energetic and ambitious, and loyal to the Ottoman Empire. He enjoyed great reputation among both Turks and Serbs, as he did not behave as a bully and ayan. If Hafiz managed to return the Belgrade Pashalik to Ottoman rule, maintain order, and pacify the Serbs, he was promised the title of Vizier of Belgrade by the sultan. On 17 April 1805 Hafiz answered the Porte about his military plans and that he accepted the mission and title. On 24 April 1805 he was titled the muhafiz of Belgrade with the rank of Vizier. He then mustered the army of the Sanjak of Niš.
Hafiz set out with a large army (according to K. Nenadović, 45,000 troops) from Niš that clashed with vojvoda Milenko Stojković near Paraćin. The reinforcements of Serbian supreme commander Karađorđe attacked the next day and the Serbs decisively defeated Hafiz Pasha, with great Ottoman casualties, at the Battle of Ivankovac (August 1805). He was wounded in the leg and retreated to Niš where he died shortly afterwards (some allege he, disgraced, poisoned himself).
Don’t just read it —
keep it.
Full-length biographies made to live with: read them, listen on the way to work, watch them tonight.
- E-book
- Audio
- Video
Instant download · yours to keep · every purchase keeps this site free
Important facts
People in Hafiz Mustafa Agha's life
Named in this biography and alive at the same time
Contemporaries
People whose lives overlapped Hafiz Mustafa Agha's
Frequently asked questions
Who was Hafiz Mustafa Agha?
ottoman soldier
When was Hafiz Mustafa Agha born?
Hafiz Mustafa Agha was born in 1770.
When did Hafiz Mustafa Agha die?
Hafiz Mustafa Agha died on 27 January 1805.
What was Hafiz Mustafa Agha's occupation?
Hafiz Mustafa Agha was a military personnel.
Sources & further reading
· Wikipedia: Hafiz Mustafa Agha
Cite this page
APA: Biography.guide. (2026). Hafiz Mustafa Agha. https://biography.guide/hafiz-mustafa-agha/
MLA: "Hafiz Mustafa Agha." Biography.guide, https://biography.guide/hafiz-mustafa-agha/.
Chicago: "Hafiz Mustafa Agha." Biography.guide. https://biography.guide/hafiz-mustafa-agha/.
Data last updated: 2026-09-20 · Spot an error? Report a correction.
Page generated 2026-09-27 05:02 UTC