What is Electorate of Bavaria?
{{Infobox country |native_name = ''Kurfürstentum Bayern'' |conventional_long_name = Electorate of Bavaria |common_name = Bavaria | |era = Early modern Europe |status = Electorate |empire = Holy Roman Empire |government_type = Feudal monarchy | |year_start = 1623 |year_end = 1806 | |event_start = Granted electoral dignity |event1 = Peace of Westphalia |date_event1 = 1648 |event2 = Put under [[Imperial Ban]] |date_event2 = 1706 |event3 = Imperial Ban reversed |date_event3 = 1714 |event4 = [[Personal union]] with<br>{{spaces|4}}[[Electorate of the Palatinate]] |date_event4 = <br>1777 |event_end = Raised to kingdom | |image_flag = Electoral Standard of Bavaria (1623-1806).svg |image_coat = Arms of Charles VII Albert, Holy Roman Emperor.svg |symbol_type = [[Coat of arms of Bavaria|Coat of arms]]<ref>Based on original preserved depictions: <gallery> St Johann Baptist - Oberviechtach 070.jpg|The catholic Church of St. Johann Baptist in [[Oberviechtach]] Gottmanshofen Mariä Heimsuchung Deckenfresko 546.JPG|The catholic Church of the Visitation of the Virgin Mary in Gottmannshofen </gallery></ref><br>(1623–1777) |coa_size = 90px |image_map = HRR 1648 Bayern.png |image_map_caption = Bavaria highlighted on a map of the Holy Roman Empire in 1648 | |p1 = Duchy of Bavaria |flag_p1 = Flag of Bavaria (lozengy).svg |s1 = Kingdom of Bavaria |flag_s1 = Flag of Bavaria (striped).svg | |capital = [[Munich]] |title_leader = [[Elector of Bavaria]] |leader1 = [[Maximilian I, Elector of Bavaria]] |year_leader1 = 1623–1651 |leader2 = [[Ferdinand Maria, Elector of Bavaria]] |year_leader2 = 1651–1679 |leader3 = [[Maximilian II Emanuel, Elector of Bavaria]] |year_leader3 = 1679–1726 |leader4 = [[Charles VII, Holy Roman Emperor|Karl Albrecht, Elector of Bavaria]] |year_leader4 = 1726–1745 |leader5 = [[Maximilian III Joseph, Elector of Bavaria]] |year_leader5 = 1745–1777 |leader6 = [[Karl Theodor, Elector of B