In the 6th century, the ancestors of the Slovenes moved in. In the 9th century, they fell under Frankish domination, while experiencing frequent Magyar raids. Not much is known about the area during the settlement of Slavs in the period between the downfall of Emona and the Early Middle Ages.