 After the Khazar empire collapsed, Magyars lived as an independent nation, moving westward.In 895–896, under the rulership of Prince Árpád, they crossed the Carpathian Mountains, and settled the area of present-day Hungary.They also began to establish their own state here, namely the Principality of Hungary.