The confederation of the Bavarii was a relatively late creation. The original tribe in the area, the Rugians, were destroyed 487 by Odoacer in their attempt to invade Italy. The Bavarians formed in their place.
Later, when Justinian succeeded in destroying the Ostrogoths (552), the Bavarians moved south of the Danube, but about the same time they also came under the control of the Franks. Thus, the line of Dukes, after Frankish suzerainty, continues until formal annexation by Charlemagne in 788.
Kings of the Bavarii
annexed by the Franks