The Magyars established Hungary in 896, after they had arrived there from their previous, Eastern European territories. Prince Árpád was their leader at the time; he also established the first royal house of the country, the Árpád-house. In 1000, after the first king, Saint Stephen had been crowned, the country became a Kingdom.