 The area was devastated during the Ottoman–Hungarian wars, and further depopulated by the Ottoman occupation of Hungary.It was recolonized by Cumans, Hungarians and Slovaks upon the establishment of Habsburg Hungary.The new regime granted Kunság to the Teutonic Order and repressed Cuman separatism, especially after the inhabitants' willing participation in Rákóczi's War of Independence.