In 1364 the Ottoman Turks under Lala Shahin Pasha seized Plovdiv. According to other data, Plovdiv was not an Ottoman possession until the Battle of Maritsa in 1371, after which, the citizens and the Bulgarian army fled leaving the city without resistance. Refugees settled in Stanimaka. During the Ottoman Interregnum in 1410, Musa Çelebi conquered the city killing and displacing inhabitants. The city was the centre of the Rumelia Eyalet from 1364 until 1443, when it was replaced by Sofia as the capital of Rumelia. Plovdiv served as a sanjak centre within Rumelia between 1443 and 1593, the sanjak centre in Silistra Eyalet between 1593 and 1826, the sanjak centre in Eyalet of Adrianople between 1826 and 1867, and the sanjak centre of Edirne Vilayet between 1867 and 1878. During that period, Plovdiv was one of the major economic centers in the Balkans, along with Istanbul (Constantinople), Edirne, Thessaloniki, and Sofia. The richer citizens constructed beautiful houses, many of which can still be seen in the architectural reserve of Old Plovdiv. From the early 15th century till the end of 17th century the city was predominantly inhabited by Muslims.