The following is a list of rulers during the history of Bavaria. Bavaria was ruled by several dukes and kings, partitioned and reunited, under several dynasties. Since 1949, Bavaria has been a democratic state in the Federal Republic of Germany.
Around 548 the kings of the Franks placed the border region of Bavaria under the administration of a duke — possibly Frankish or possibly chosen from amongst the local leading families — who was supposed to act as a regional governor for the Frankish king. The first duke we know of, and likely the first, was Gariwald, or Garibald I, a member of the powerful Agilolfing family. This was the beginning of a series of Agilolfing dukes that was to last until 788.
The Kings (later Emperors) of the Franks now assumed complete control, placing Bavaria under the rule of non-hereditary governors and civil servants. They were not Dukes but rather Kings of Bavaria. The Emperor Louis the Pious divided control of the Empire among his sons, and the divisions became permanent in the decades following his death in 840. The Frankish rulers controlled Bavaria as part of their possessions.
Luitpold, founder of the Luitpolding dynasty, was not a Duke of Bavaria but a Margrave of Carinthia under the rule of Louis the Child. Frankish power had waned in the region due to Hungarian attacks, allowing the local rulers greater independence. Luitpold's son, Arnulf, claimed the title of Duke (implying full autonomy) in 911, and was recognized as such by the German King Henry the Fowler in 920.
From 947 until the 11th century, the kings of Germany repeatedly transferred Bavaria into different hands (including their own), never allowing any one family to establish itself. Bavaria was ruled by a series of short-lasting, mostly unrelated dynasties.
In 1070, Henry IV, Holy Roman Emperor deposed duke Otto, granting the duchy instead to Welf I, Duke of Bavaria, a member of the Italo-Bavarian family of Este. Welf I subsequently quarreled with King Henry and was deprived of his duchy for nineteen years, during which it was directly administered by the German crown. Welf I recovered the duchy in 1096, and was succeeded by his sons Welf II and Henry IX — the latter was succeeded by his son Henry X, who also became Duke of Saxony.