Louis I, called the Kelheimer or of Kelheim, since he was born and died at Kelheim, was the Duke of Bavaria from 1183 and Count Palatine of the Rhine from 1214. He was the only surviving son of Otto I, Duke of Bavaria by his wife Agnes of Loon. He married Ludmilla of Bohemia, a daughter of Duke Frederick of Bohemia.
Otto IV's charter enfeoffing Louis with Bavaria on 15 November 1208
The Electoral Palatinate or the Palatinate, officially the Electorate of the Palatinate, was a constituent state of the Holy Roman Empire. The electorate had its origins under the rulership of the Counts Palatine of Lotharingia in 915; it was then restructured under the Counts Palatine of the Rhine in 1085. From 1214 until the Electoral Palatinate was merged into the Kingdom of Bavaria in 1805, the House of Wittelsbach provided the Counts Palatine or Electors. These counts palatine of the Rhine would serve as prince-electors from "time immemorial", and were noted as such in a papal letter of 1261; they were confirmed as electors by the Golden Bull of 1356.
Frederick I, King of Bohemia (1619–1620)
Heidelberg Castle, destroyed by the French in 1689 and never rebuilt
Maximilian Joseph, Elector of Bavaria (1799–1806)