Székesfehérvár is a city in central Hungary, located around 65 km (40 mi) southwest of Budapest. It is inhabited by 101,973 people (2010), with 136,995 in the Székesfehérvár Subregion. The city is the centre of Fejér county and the regional centre of Central Transdanubia. In the Middle Ages the city was a royal residence and was one of the most important cities of Hungary. 37 kings and 39 queen consorts were crowned, 15 rulers have been buried here, the diets were held and the crown jewels were kept here.