In the Ottoman Empire, the duty of municipal government was the responsibility of the "Şehremini", a mayor-like leader, and local religious judges, "Kadı".
The idea to establish a municipality organization based on Western standards was first discussed in 1854 during the Crimean War when diplomats and journalists of allied nations came to Constantinople.
Later, the parliament accepted a law for the establishment of the office of a mayor and a city council.
Salih Paşa received the first title of the new, modern Şehremini on July 13, 1858, and governed until November 4, 1858.
During the reign of Young Turks, between 1908–1918 and until the foundation of the republic, 23 mayors served in the capital.