The Tanzimat (Ottoman Turkish: تنظيمات, Turkish: Tanzimât, lit. 'Reorganization') was a period of reforms in the Ottoman Empire that began with the Edict of Gülhane of 1839 and ended with the First Constitutional Era in 1876. Driven by reformist statesmen such as Mustafa Reşid Pasha, Mehmed Emin Âli Pasha, and Fuad Pasha, under Sultans Abdul Mejid and Abdul Aziz, the reforms sought to reverse the empire's decline by modernizing legal, military, and administrative systems while promoting Ottomanism (equality for all subjects). Though secular courts, modern education, and infrastructure like railways, were introduced, the reforms faced resistance from conservative clerics, exacerbated ethnic tensions in the Balkans, and saddled the empire with crippling foreign debt. The Tanzimat’s legacy remains contested: some historians credit it with establishing a powerful national government, while others argue it accelerated imperial fragmentation.
Different functions of government received reform, were completely reorganized, or started from scratch. Among institutions that received significant attention throughout this period included legislative functions, trade policy, secularization and codification of the legal system, crackdowns on the slave trade, education, property law, law enforcement, and the military. Ottoman statesmen also worked with reformers of the many confessional communities of the empire, millets, to codify — and in some cases democratize — their confessional governments.