The Schleswig lands north of the Eider river and the Bay of Kiel had been a fief of the Danish Crown since the Early Middle Ages. The southern Holstein region belonged to Francia and later to the Holy Roman Empire, but it was held as an imperial fief by the Danish kings since the 1460 Treaty of Ribe.[7]