During the Ottoman administration in the Balkans and in the Pannonian Plain, many Serbs converted to Islam, which was a condition for advancement in the state service. Some Muslim Serbs were in high administrative positions, like bej Malković, who was the first Ottoman administrator of Bečkerek or Hasan paša Predojević, who was administrator of the Sanjak of Segedin in 1592. During the time, descendants of Muslim Serbs developed a separate ethnic identity and today are known as Bosniaks. During the Ottoman administration, villages in Vojvodina were populated by Serbs, while cities were populated by ethnically and religiously diverse population which included Muslims (Turks, Muslim Serbs, Arabs), Serbs, Romani, Greeks, Cincars, Jews, etc. Some cities of Vojvodina were majority Serb, some majority Muslim, while some had mixed populations. All settlements had mosques, while important cities also had administrative buildings, baths, Muslim schools and other public buildings. Main street (čaršija) usually had main trading and manufacturing shops. According to the records, following important cities of Vojvodina had sizable Muslim populations in Ottoman times:  Ottoman Empire was divided into provinces (pashaluks or eyalets), which were divided into smaller units - sanjaks. In the territory of Banat there was a first-level Ottoman administrative unit, the Eyalet of Temeşvar, while Sanjak of Syrmia and Sanjak of Segedin existed in Syrmia and Bačka. Both sanjaks initially were part of the Eyalet of Budin, but Sanjak of Segedin was later included into the Eyalet of Egir. After Habsburg conquest of Vojvodina (late 17th and early 18th century), almost entire Muslim population left from this area. Some of the Muslim refugees were later resettled in Bosnia and Herzegovina, mainly in its northern part and in the vicinity of river Bosnia, where they were known as "Unđurovci" ("refugees from Hungary"). Their larger settlements had "urijas" (rough municipal terrains), like in Vojvodina. Habsburgs also destroyed almost all traces of Islamic culture in Vojvodina and first mosque in Vojvodina after Habsburg conquest was built only in 2008 in Subotica, after almost three centuries.