Mahmud II ruled the Ottoman Empire from 1808 until his death on July 1, 1839. Born on July 20, 1785, he was the son of Sultan Abdul Hamid I and Nakşidil Kadin. After his father’s death, he was confined in the palace’s Kafes. In 1808, his half-brother Mustafa IV ordered his execution, but Mahmud survived, and rebels who deposed Mustafa placed him on the throne. Alemdar Mustafa Pasha became his vizier.
Mahmud’s reign unfolded amid territorial losses and rebellions. The 1812 Treaty of Bucharest ceded Bessarabia to Russia, while the Greek War of Independence began in 1821. After the Ottoman fleet’s defeat at Navarino in 1827, the empire recognized Greek independence in 1832. Russia also gained territory in the war of 1828–1829, and France began its conquest of Ottoman Algeria in 1830. Meanwhile, Mahmud’s forces, led by his governor Muhammad Ali of Egypt, reclaimed Mecca and Medina from the Wahhabis.
Determined to strengthen central authority, Mahmud pursued administrative and military reforms. In 1826, he crushed and abolished the Janissary Corps in the event known as the Auspicious Incident, clearing the way for a modern army. He also sought to bring provincial leaders under central control and reorganized the bureaucracy and foreign office. His legal measures limited governors’ authority to impose death sentences and established avenues for appeals. In 1838, he created the Supreme Council of Judicial Ordinances; the following year, he began preparations for a Council of Ministers.
Mahmud was a member of the Mevlevi Order and also took an interest in traditional archery, commissioning a history of Turkish bows from the archery master Mustafa Kani. He died of tuberculosis in 1839 and was succeeded by his son Abdülmecid I, who continued the modernization program associated with the Tanzimat era.