Great Moravia was at first in constant quarrels with the Eastern Francia, and at the beginning of the 10th century, with the Magyars who arrived from Asia. The Magyars conquered Great Moravia in 906, and established the Hungarian Principality, resulting later in the creation of the Kingdom of Hungary in year 1000. Slovaks continued to live in the north, while most Hungarians were in the south. 