Ottoman Hungary
Ottoman Hungary () was the parts of the Kingdom of Hungary in the late medieval period that were conquered and ruled by the Ottoman Empire. It existed from 1541 to 1699. During this era, the Ottomans denoted the region as 'Macaristan', which has endured as the name for Hungary in the Turkish language. For the majority of its duration, Ottoman Hungary covered Southern Transdanubia and almost the entire region of the Great Hungarian Plain. The territory was invaded and annexed to the Ottoman Empire by Sultan Suleiman the Magnificent between 1521 and 1541. The north-western rim of the Hungarian kingdom remained unconquered and recognised members of the House of Habsburg as Kings of Hungary, giving it the name "Royal Hungary". The boundary between the two thereupon became the frontline in the Ottoman–Habsburg wars over the next 150 years. Following the defeat of the Ottomans in the Great Turkish War, most of Ottoman Hungary was ceded to the Habsburgs under the Treaty of Karlowitz in 1699. During the period of Ottoman rule, Hungary was divided for administrative purposes into Eyalets (provinces), which were further divided into Sanjaks. Ownership of much of the land was distributed to Ottoman soldiers and officials with