the Kingdom of Hungary, but it was later adopted also by the rest of the population. By the opinion of some researchers, the non-Magyarized descendants of these local Slavs are the present-day Šokci. Although Serbs were part of the aboriginal Slavic population in the territory of Vojvodina (especially in Syrmia), an increasing number of Serbs began settling from the 14th century onward. Because of the presence of the large Serb population, many historical records and maps from the 15th to the 18th century refer to the territory of present-day Vojvodina as Raška. The Ottoman Empire took control of Vojvodina in the 16th century, and this caused a massive depopulation of the region. Most of the Hungarians and many local Slavs fled from the region and escaped to the north. The majority of those who left in the region were Serbs, mainly now engaging either in farming or in Ottoman military service. Under Ottoman policy, many Serbs were newly settled in the region. During the Ottoman administration, Serbs comprised an absolute majority of Vojvodina's population. In that time, villages were populated exclusively by Serbs, while cities were populated by various ethnic and religious groups, including mainly Muslims and Serbs, but also some Cincars, Greeks, Jews and Roma. The Habsburg monarchy took control of Vojvodina in the treaties of Karlovci (1699) and Požarevac (1718). Following the establishment of the Habsburg administration, the Muslim population fled from the region. Some of these Muslim refugees were resettled in Bosnia and Herzegovina. During the Habsburg administration, many new Serb settlers from the Ottoman Empire immigrated to the region. In 1687, the northern parts of the region were settled by ethnic Bunjevci. Many other non-Serb settlers were also settled in the territory of present-day Vojvodina during the 18th and 19th century. These settlers were mainly Germans and Hungarians, but also included Rusyns, Slovaks, Romanians, and others. Because of this settling, Serbs were no longer the absolute ethnic majority in the region, and Vojvodina became one of the most ethnically diverse regions of Europe. Despite this, Serbs still remained the largest ethnic group in the region. According to the 1910 census, Serbs comprised 33.8% of the population in the territory of present-day Vojvodina. After Serbs, the most numerous ethnic groups were Hungarians (comprising 28.1%) and Germans (comprising 21.4%). In 1918, Vojvodina became part of the Kingdom of Serbs, Croats and Slovenes and new Serb settlers came to