sentences:  After Charlemagne had finally deposed the Bavarian duke Tassilo III in 787, Karnburg remained the political capital when Carantania became a march of the Frankish realm.The East Frankish king Arnulf of Carinthia († 899), probably born in nearby Moosburg, built a "Kaiserpfalz" here.In 893 he appointed the Bavarian count Luitpold Margrave in the March of Carinthia, his Luitpolding descendants also ruled as Bavarian dukes.