Holy Roman Emperor Louis IV - 1314-1346

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, King of Italy from 1327, and Holy Roman Emperor from 1328. Louis IV was Duke of Upper Bavaria from 1294/1301 together with his elder brother Rudolf I, served as Margrave of Brandenburg until 1323, as Count Palatine of the Rhine until 1329, and he became Duke of Lower Bavaria in 1340. He obtained the titles Count of Hainaut, Holland, Zeeland, and Friesland in 1345 when his wife Margaret inherited them.

Early reign as Duke of Upper Bavaria

Louis was born in Munich, the son of Louis II, Duke of Upper Bavaria and Count Palatine of the Rhine, and Matilda, a daughter of King Rudolph I. Though Louis was partly educated in Vienna and became co-regent of his brother Rudolf I in Upper Bavaria in 1301 with the support of his Habsburg mother and her brother, King Albert I, he quarrelled with the Habsburgs from 1307 over possessions in Lower Bavaria. A civil war against his brother Rudolf due to new disputes on the partition of their lands was ended in 1313, when peace was made at Munich.

In the same year, on November 9, Louis defeated his Habsburg cousin Frederick the Fair who was further aided by duke Leopold I. Originally, he was a friend of Frederick, with whom he had been raised. However, armed conflict arose when the guardianship over the young Dukes of Lower Bavaria (Henry XIV, Otto IV, and Henry XV) was entrusted to Frederick, even though the late Duke Otto III, the former King of Hungary, had chosen Louis. On 9 November 1313, Frederick was defeated by Louis in the Battle of Gamelsdorf and had to renounce the tutelage. This victory caused a stir within the Holy Roman Empire and increased the reputation of the Bavarian Duke.

Election as German King and conflict with Habsburg

The death of Holy Roman Emperor Henry VII in August 1313 necessitated the election of a successor. Henry's son John, King of Bohemia since 1310, seemed too powerful to most prince-electors, opening the door for other candidates. The most likely choice was Frederick the Fair, the son of Henry's predecessor, Albert I, of the House of Habsburg. In reaction, the pro-Luxemburg party among the prince electors settled on Louis as its candidate to prevent Frederick's election. On 19 October 1314, Archbishop Henry II Cologne chaired an assembly of four electors assembled at Sachsenhausen, south of Frankfurt. Participants were Louis's brother, Rudolph I of the Palatinate, who objected to the election of his younger brother, Duke Rudolph I of Saxe-Wittenberg, and Henry of Carinthia, whom the Luxemburgs had deposed as King of Bohemia. These four elector chose Frederick as King.

The Luxemburg party did not accept this election and the next day a second election was held. Upon the instigation of Peter of Aspelt, Archbishop of Mainz, five different electors convened at Frankfurt and elected Louis as King. These electors were Archbishop Peter himself, Archbishop Baldwin of Trier and King John of Bohemia - both of the House of Luxemburg - Margrave Waldemar of Brandenburg and Duke John II of Saxe-Lauenburg, who contested his Rudolph of Wittenbergs claim to the electoral vote. This double election was quickly followed by two coronations: Louis was crowned at Aachen - the customary site of coronations - by Archbishop Peter of Mainz, while the Archbishop of Cologne, who by custom had the right to crown the new king, crowned Frederick at Bonn. In the following conflict between the kings, Louis recognized in 1316 the independence of Switzerland from the Habsburg dynasty.

After several years of bloody war, victory finally seemed within the grasp of Frederick, who was strongly supported by his brother Leopold. However, Frederick's army was decisively defeated in the Battle of Mühldorf on 28 September 1322 on the Ampfing Heath, where Frederick and 1300 nobles from Austria and Salzburg were captured. Louis held Frederick captive in Trausnitz Castle (Schwandorf) for three years, but the determined resistance by Frederick's brother Leopold, the retreat of John of Bohemia from his alliance, and the Pope's ban induced Louis to release Frederick in the Treaty of Trausnitz of 13 March 1325. In this agreement, Frederick recognized Louis as legitimate ruler and undertook to return to captivity if he did not succeed in convincing his brothers to submit to Louis.

As he did not manage to overcome Leopold's obstinacy, Frederick returned to Munich as a prisoner, even though the Pope had released him from his oath. Louis, who was impressed by such nobility, renewed the old friendship with Frederick, and they agreed to rule the Empire jointly. Since the Pope and the electors strongly objected to this agreement, another treaty was signed at Ulm on 7 January 1326, according to which Frederick would administer Germany as King of the Romans, while Louis would be crowned as Holy Roman Emperor in Italy. However, after Leopold's death in 1326, Frederick withdrew from the regency of the Empire and returned to rule only Austria. He died on 13 January 1330. Despite Louis' victory, Pope John XXII still refused to ratify his election, and in 1324 he excommunicated Louis, but the sanction had less effect than in earlier disputes between emperors and the papacy.

Coronation as Holy Roman Emperor and conflict with the Pope

After the reconciliation with the Habsburgs in 1326, Louis marched to Italy and was crowned King of Italy in Milan in 1327. Already in 1323 Louis had sent an army to Italy to protect Milan against the Kingdom of Naples, which was together with France the strongest ally of the papacy. But now the Lord of Milan Galeazzo I Visconti was deposed since he was suspected of conspiring with the pope.

In January 1328 Louis entered Rome and had himself crowned emperor by the aged senator Sciarra Colonna, called captain of the Roman people. Three months later Louis published a decree declaring "Jacque de Cahors" (Pope John XXII) deposed on grounds of heresy. He then installed a Spiritual Franciscan, Pietro Rainalducci, as Nicholas V, but both left Rome in August 1328. In the meantime Robert, King of Naples had sent both a fleet and an army against Louis and his ally Peter II of Sicily. Louis spent the winter 1328/29 in Pisa and stayed then in Northern Italy until his co-ruler Frederick of Habsburg had died. In fulfilment of an oath, on his return from Italy Louis founded Ettal Abbey on 28 April 1330. Franciscan theologians Michael of Cesena, and William of Ockham and the philosopher Marsilius of Padua, who were on bad terms with the Pope as well, joined Louis in Italy and accompanied him to his court in Munich.

In 1333, Louis sought to counter French influence in the southwest of the empire, and offered Humbert II of Viennois the Kingdom of Arles, an opportunity to gain full authority over Savoy, Provence, and surrounding territories. Humbert was reluctant to take the crown and the conflict that would follow with all around him, so he declined, telling Louis that he should make peace with the church first. The failure of later negotiations with the papacy led in 1338 to the declaration at Rhense by six electors to the effect that election by all or the majority of the electors automatically conferred the royal title and rule over the empire, without papal confirmation.

Louis also allied in 1337 with Edward III of England against Philip VI of France, the protector of the new Pope Benedict XII in Avignon. Philip had prevented any agreement between the emperor and the pope. In 1338 Edward III was the emperor's guest at the Imperial Diet in the Kastorkirche at Coblence and was named vicar-general of the Holy Roman Empire. In 1341 Louis deserted Edward but came only temporarily to terms with Philip. The expected English payments were missing and Louis intended to reach an agreement with the pope one more time.

Imperial privileges

Louis IV was a protector of the Teutonic Knights. In 1337 he allegedly bestowed upon the Teutonic Order a privilege to conquer Lithuania and Russia, although the Order had only petitioned for three small territories. Later he forbade the Order to stand trial before foreign courts in their territorial conflicts with foreign rulers. Louis concentrated his energies also on the economic development of the cities of the empire, so his name can be found in many city chronicles for the privileges he granted. In 1330 the emperor for example permitted the Frankfurt Trade Fair, and in 1340 Lübeck, as the most powerful member of the future Hanseatic League, received the coinage prerogative for golden gulden.

Dynastic policy
 
In 1323 Louis gave Brandenburg as a fiefdom to his eldest son Louis V after the Brandenburg branch of the House of Ascania had died out. With the Treaty of Pavia in 1329 the emperor reconciled the sons of his late brother Rudolph and returned the Palatinate to his nephews Rudolf and Rupert. After the death of Henry of Bohemia the duchy of Carinthia was released as an imperial fief on 2 May 1335 in Linz to his Habsburg cousins Albert II, Duke of Austria and Otto, Duke of Austria, while Tyrol was first placed into Luxemburg hands.

With the death of duke John I in 1340 Louis inherited Lower Bavaria and then reunited the duchy of Bavaria. John's mother, a member of the Luxemburg dynasty, had to return to Bohemia. In 1342 Louis also acquired Tyrol for the Wittelsbach by voiding the first marriage of Margarete Maultasch with John Henry of Bohemia and marrying her to his own son Louis V, thus alienating the House of Luxemburg even more.

In 1345 the emperor further antagonized the lay princes by conferring Hainaut, Holland, Zeeland, and Friesland upon his wife Margaret of Holland. The hereditary titles of Margaret's sisters, one of whom was the queen of England, were ignored. Because of the dangerous hostility of the Luxemburgs, Louis had increased his power base ruthlessly.

Conflict with Luxemburg
 
The acquisition of these territories and his restless foreign policy had earned Louis many enemies among the German princes. In the summer of 1346 the Luxemburg Charles IV was elected rival king, with the support of Pope Clement VI. Louis himself obtained much support from the Imperial Free Cities and the knights and successfully resisted Charles, who was widely regarded as a papal puppet ("rex clericorum" as William of Ockham called him). Also the Habsburg dukes stayed loyal to Louis. In the Battle of Crécy Charles' father John of Luxemburg was killed; Charles himself also took part in the battle but escaped.

But then Louis' sudden death avoided a longer civil war. Louis died in October 1347 from a stroke suffered during a bear-hunt in Puch near Fürstenfeldbruck. He is buried in the Frauenkirche in Munich. The sons of Louis supported Günther von Schwarzburg as new rival king to Charles but finally joined the Luxemburg party after Günther's early death in 1349 and divided the Wittelsbach possessions amongst themselves again. In continuance of the conflict of the House of Wittelsbach with the House of Luxemburg, the Wittelsbach family returned to power in the Holy Roman Empire in 1400 with King Rupert of Germany, a great-grandnephew of Louis.

Family and children

In 1308 Louis IV married his first wife, Beatrix of ?widnica. Their children were: Mathilde (aft. 21 June 1313 – 2 July 1346, Meißen), married at Nuremberg 1 July 1329 Frederick II, Margrave of Meissen (d. 1349) Daughter (end September 1314 – died shortly after). Louis V the Brandenburger (July 1316 – 17/18 September 1361), duke of Upper Bavaria, margrave of Brandenburg, count of Tyrol Anna (c. July 1317 – 29 January 1319, Kastl) Agnes (c. 1318 – died shortly after). Stephen II (autumn 1319 – 19 May 1375), duke of Lower Bavaria In 1324 he married his second wife, Margaret II, Countess of Hainaut and Holland. Their children were: Margaret (1325 – 1374), married:in 1351 in Ofen Stephen, Duke of Slavonia (d. 1354), son of the King Charles I of Hungary; 1357/58 Gerlach von Hohenlohe. Anna (c. 1326 – 3 June 1361, Fontenelles) married John I of Lower Bavaria (d. 1340). Louis VI the Roman (7 May 1328 – 17 May 1365), duke of Upper Bavaria, elector of Brandenburg. Elisabeth (1329 – 2 August 1402, Stuttgart), married:Cangrande II della Scala, Lord of Verona (d. 1359) in Verona on 22 November 1350; Count Ulrich of Württemberg (died 1388 in the Battle of Döffingen) in 1362. William V of Holland (12 May 1330 – 15 April 1389), as William I duke of Lower Bavaria, as William III count of Hainaut. Agnes (Munich, 1335 – 11 November 1352, Munich). Albert I of Holland (25 Jul 1336 – 13 December 1404), duke of Lower Bavaria, count of Hainaut and Holland. Otto V the Bavarian (1340/42 – 15/16 November 1379), duke of Upper Bavaria, elector of Brandenburg. Beatrix (1344 – 25 December 1359), married bef. 25 October 1356 Eric XII of Sweden. Louis (October 1347 – 1348).

+