The Ottoman Empire underwent an internal reorganization and modernization called the Tanzimat: Sharia law was replaced by secular law, non-Muslims were declared equal to Muslims, and public administration was modernized along Western lines, even leading to the introduction of the Ottoman Empire’s first railway.



