The Kingdom of Hungary was a monarchy in Central Europe that existed for nearly a millennium, from the Middle Ages into the 20th century. The Principality of Hungary emerged as a Christian kingdom upon the coronation of the first king Stephen I at Esztergom around the year 1000