Wittelsbach Coat of Arms: With the Palatinate the Wittelsbach acquired the lion as an heraldic symbol; the white-and-blue lozenges came to the family when Otto II Wittelsbach, Duke of Bavaria
acquired the county of Bogen
Berthold, Margrave in Bavaria (died 980), was the ancestor of Otto I, Count of Scheyern (died 1072), whose third son Otto II, Count of Scheyern acquired the castle of Wittelsbach (near Aichach). The Counts of Scheyern left Scheyern Castle (constructed around 940) in 1119 for Wittelsbach Castle and the former was given to monks to establish Scheyern Abbey.
The Wittelsbach Conrad of Scheyern-Dachau, a great-grandson of Otto I, Count of Scheyern became Duke of Merania in 1153 and was succeeded by his son Conrad II. It was the first Duchy held by the Wittelsbach family (until 1180/82).
Otto I's eldest son Eckhard I, Count of Scheyern was father of the Count palatine of Bavaria Otto IV (died 1156), who was the first Count of Wittelsbach and whose son Otto was invested with the Duchy of Bavaria in 1180 after the fall of Henry the Lion and hence the first Bavarian ruler from the House of Wittelsbach. Duke Otto's son Louis I, Duke of Bavaria acquired also the Electorate of the Palatinate in 1214.