The plain was named after the Pannon named Medes. Various different peoples inhabited the plain during its history. In the first century BC, the eastern parts of the plain belonged to the Dacian state, and in the first century AD its western parts were subsumed into the Roman Empire. The Roman province named Pannonia was established in the area, and the city of Sirmium, today Sremska Mitrovica, Serbia, became one of the four capital cities of the Roman Empire in the 3rd century. Middle Ages In the Age of Migrations and the early Middle Ages, the region belonged to several realms such as the Hun Empire, the Kingdom of the Gepids, the Kingdom of the Ostrogoths, the Kingdom of the Lombards, the Avar Khaganate, the West Slavic state of Samo, the Bulgarian Empire, the Frankish Empire, Great Moravia, the Lower Pannonian Principality and the Kingdom of Syrmia. The Principality of Hungary established in 895 by the Magyars was centered on the plain and included almost all of it (as did the former Avar Khaganate). It was established as the Catholic Kingdom of Hungary in AD 1000, with the coronation of Stephen I of Hungary. The Kingdom of Hungary by the 11th century comprised the entire Pannonian Basin, but the changing fates of this part of Europe during the Ottoman wars of the 14th to 17th centuries left the Pannonian basin divided between numerous political entities. After the Battle of Mohács in 1526, the central and eastern regions of the kingdom and the plain on which they lay were incorporated into the Ottoman Empire, while the remainder to the north-west was subsumed into the holdings of the Habsburg monarchy and retitled Royal Hungary. Under Ottoman administration, the plain was reorganised into the Eyalet of Budim, the Eyalet of Egri, the Eyalet of Sigetvar and the Eyalet of Temeşvar. Modern history The Pannonian Plain was frequently a scene of conflict between the two empires. At the end of the 17th century the Habsburgs won decisive battles against the Ottomans, and most of the plain gradually came under Habsburg rule. Under Habsburg rule the region was eventually reorganised into the Kingdom of Hungary, the Banat of Temeswar, the Military Frontier, the Kingdom of Croatia, the Kingdom of Slavonia and Voivodeship of Serbia and Temes Banat. The Habsburg Monarchy was subsequently transformed into the Austrian Empire (in 1804) and later became Austria-Hungary (in 1867).