TRENDEFRARAtlas of the Sultans · Reforms and law

Vaka-i Hayriye (the Auspicious Incident)

Reform · Abolition of the Janissary Corps · 17 June 1826

Vaka-i Hayriye (the Auspicious Incident)
“Massacre of the Janissaries”: a French engraving depicting the Auspicious Incident, 1866 (Auguste Trichon). · Image: Wikimedia Commons (public domain)
Open the map in 1826

Why it was necessary

Vaka-i Hayriye (the Auspicious Incident)
A Janissary, engraving from a costume book printed in Nuremberg, 1703. · Image: Wikimedia Commons (public domain)

According to Kemal Beydilli's TDV article, the abolition of the Janissary Corps (17 June 1826), one of the most important acts of Mahmud II's reign, is a major turning point in Ottoman history and is usually called the “Vaka-i Hayriye” (Auspicious Incident) in the sources. Mahmud II regarded bringing the administration to a centralized level like that of European states, and rebuilding all institutions to suit the times, as a condition of survival. This required a new military structure and made the abolition of the Janissary Corps, the greatest obstacle in his way, unavoidable.

Selim III's Nizam-ı Cedid had ended with the Kabakçı Mustafa revolt in 1807, and Alemdar Mustafa Pasha's attempt in 1808 with a counter-coup. By then the Janissaries were deeply entangled in Istanbul's social life: their barracks stood in the city centre, from the 17th century they had turned to trade and held an important place in the guilds, and almost all porters, boatmen and day labourers were Janissaries or treated as such. Broad groups holding Janissary pay certificates (esame) could also easily be mobilized alongside the corps.

A patient preparation

From his accession in 1808 until 1826, Mahmud II managed to hide that he was preparing for the day he would abolish the corps. Having seen that junior officers had been decisive in mobilizing the corps in earlier revolts, he first removed them. The purge began in 1815 under the Janissary agha Seyyid Mehmed Agha and was largely completed under Agha Hüseyin Pasha (1823). The sultan then separated Agha Hüseyin from the corps by appointing him guardian of the Bosphorus and the Rumelian shore to prepare for the final day, while Mehmed Reşid Pasha, guardian of the Asian shore of the Bosphorus, also gathered forces.

Learning from earlier revolts, the sultan also sought to prevent the ulema from joining forces with the soldiers. On 26 November 1825 Kadızade Mehmed Tahir was appointed chief mufti, and in 1826 a series of secret meetings was held with senior members of the ulema. The failure to suppress the Greek revolt that had begun in 1821, and the capture of Missolonghi by Western-trained Egyptian forces (23 April 1826), convinced public opinion of the need for trained soldiers; people now ruefully admitted that Selim III had been right.

The eşkinci corps and the trap

To create a trained force it was decided to enrol drilled musketeers under the name eşkinci. The founding text (the eşkinci memorandum) was discussed with senior bureaucrats and the aghas of the corps at the chief mufti's residence and adopted unanimously; care was taken not to call the new troops Nizam-ı Cedid or Sekban-ı Cedid. At a general meeting on 29 May a legal deed (hüccet) was read and a fatwa drawn up, stressing that modern military training was indispensable and that the Janissaries had for five years been unable to put down the rebellious Greek subjects. The signed documents were announced to the corps at the Agha's Gate (Ağakapısı) and accepted.

Drill began at the Etmeydanı on 12 June. Soon, however, the Janissaries went back on their word, and objections that this was “infidel drill” grew louder. According to Beydilli, Mahmud II had secretly encouraged the Janissaries to revolt one last time, and there is no doubt that the eşkinci scheme was a trap set to push them into it.

The revolt and its suppression

On the evening of 13 June the Janissaries gathered at the Etmeydanı overturned their cauldrons for the last time and raided and plundered the houses of leading figures. The next morning the grand vizier, the chief mufti, the sultan and the dignitaries of the Sublime Porte came to Topkapı Palace. Technical corps such as the artillerymen, sappers and bombardiers, the marines, the forces of Agha Hüseyin and Mehmed Reşid Pashas, and madrasa students and townspeople led by their neighbourhood imams marched to the palace. The Holy Banner of the Prophet was brought out, a fatwa was issued sanctioning the killing of the rebels, and operations began with the Sultan Ahmed Mosque as their centre.

When the call to surrender was rejected, the barracks were set on fire by cannon; the final blow to the corps was dealt in a clash of four or five hours. Those captured were tried collectively before a court martial set up at the Hippodrome (Atmeydanı) and executed; the executions continued until noon on 17 June. The number of dead is disputed: Esad Efendi gives a total of about 6,000, but Beydilli considers a total of around 2,000-3,000, including executions outside Istanbul, the most realistic estimate and notes that exaggerated figures were meant to spread terror.

The abolition and the new army

On 17 June, among the ulema and dignitaries gathered in the Sultan Ahmed Mosque, the view was even voiced that, despite everything, the corps should be reformed rather than abolished. After a forceful speech by the chief scribe (reisülküttap) Mehmed Seyda Efendi, abolition was decided. By a decree drafted by Pertev Efendi, the Janissary Corps was abolished and replaced by a new army called the Asakir-i Mansure-i Muhammediyye (Victorious Soldiers of Muhammad). The decree was read in the mosque by Esad Efendi, and more than a hundred copies were distributed through the neighbourhood imams.

The office of Janissary agha was replaced by that of the serasker (commander-in-chief), and Agha Hüseyin Pasha became serasker. The Old Palace at Beyazıt was assigned to the serasker and the Agha's Gate to the chief mufti. The Old Chambers barracks opposite the Şehzade Mosque were demolished, and the Etmeydanı was renamed Ahmediye Square. Registers relating to the Janissaries were burned, and the Bektashi order, accused of collaborating with them, was also persecuted. Within a few months nearly 50,000 vagrants were expelled from the city.

Consequences

Vaka-i Hayriye (the Auspicious Incident)
Mahmud II in his new-style dress, portrait by H. G. Schlesinger, 1839 (Palace of Versailles). · Image: Wikimedia Commons (public domain)

According to Beydilli, the abolition of the Janissary Corps removed the last obstacle to the great transformation that would earn Mahmud II the title of “second founder of the state”. The TDV article on the Tanzimat likewise notes that after abolishing the corps Mahmud II completely changed the central administration from the early 1830s, creating ministries and councils such as the Supreme Council (Meclis-i Vala). The way was thus opened for the Tanzimat Edict proclaimed in 1839.

Source: TDV Encyclopedia of Islam, “VAK‘A-i HAYRİYYE” (Kemal Beydilli)

Related sultans

City: Istanbul (Constantinople)

Cite as: Atlas of the Sultans, “Vaka-i Hayriye (the Auspicious Incident) · Reforms and law”, https://padisahlaratlasi.com/en/ottoman-reforms/vaka-i-hayriye-the-auspicious-incident/ (last updated 29 November 2026). Corrections · Image credits