 Later on the name was changed to "Krajina" or, in German, "Chrainmark".The new inhabitants were subjected to the Avars.The march of Carniola on the eastern slope of the Julian Alps probably dates back to the late ninth century, when it was formed alongside the marches of Carinthia, Istria, and Pannonia and was especially susceptible to Magyar raids.