Hungary covers an area of 93,030 square kilometres (35,920 sq mi), situated in the Carpathian Basin, and is bordered by Slovakia to the north, Romania to the east, Serbia to the south, Croatia to the southwest, Slovenia to the west, Austria to the northwest, and Ukraine to the northeast. With about 10 million inhabitants, Hungary is a medium-sized member state of the European Union. The official language is Hungarian, which is the most widely spoken Uralic language in the world. Hungary's capital is Budapest and its largest city and metropolis, a significant economic hub, classified as leading global city. Major urban areas include Debrecen, Szeged, Miskolc, Pécs and Győr.
Following centuries of successive habitation by Celts, Romans, Slavs, Gepids and Avars, the foundation of Hungary was laid in the late 9th century by the Hungarian grand prince Árpád in the conquest of the Carpathian Basin.His great-grandson Stephen I ascended to the throne in 1000, converting the country to a Christian kingdom. By the 12th century, Hungary became a middle power within the Western world, reaching a golden age by the 15th century.Following the Battle of Mohács in 1526 and about 150 years of partial Ottoman occupation (1541–1699), Hungary came under Habsburg rule, and later formed the great power Austro–Hungarian Empire together with Austria.