"Louis IV (German: Ludwig; 1 April 1282 – 11 October 1347), called the Bavarian, of the house of Wittelsbach, was King of the Romans from 1314, ...
[Read more]
King of Italy from 1327, and Holy Roman Emperor from 1328.
Louis' election as king of Germany in 1314 was controversial, as his Habsburg cousin Frederick the Fair was simultaneously elected king by a separate set of electors. Louis defeated Frederick in the Battle of Mühldorf in 1322, and the two eventually reconciled. Louis was opposed and excommunicated by the French Pope John XXII; Louis in turn attempted to depose the pope and install an anti-pope." - (en.wikipedia.org 11.08.2021)