Rupert of the Palatinate (; 5 May 1352 – 18 May 1410), sometimes known as Robert of the Palatinate, a member of the House of Wittelsbach, was Elector Palatine from 1398 (as Rupert III) and King of Germany from 1400 until his death. Early life Rupert was born at Amberg in the Upper Palatinate, the son of Elector Palatine Rupert II and Beatrice of Aragon, daughter of King Peter II of Sicily. Rupert's great-granduncle was the Wittelsbach emperor Louis IV. He was raised at the Dominican Liebenau monastery near Worms, where his widowed grandmother Irmengard of Oettingen lived as a nun. Reign From his early years Rupert took part in the government of the Electoral Palatinate to which he succeeded on his father's death in 1398. He and the three ecclesiastical prince-electors (of Mainz, Cologne and Trier) met at Lahneck Castle in Oberlahnstein on 20 August 1400 and declared their king, Wenceslaus, deposed. On the next day the same four electors met at Rhens to ballot for Rupert as next German king, thus the majority of the college including the Elector Palatine's own vote. As the Imperial City of Aachen refused to let him enter through its gates, Rupert was crowned by Archbishop Frederick III in Cologne on 6 January 1401. Lacking a solid power base in the Empire, his rule remained contested by Wenceslaus' family, the mighty House of Luxembourg, though Wenceslaus himself did not take any action to regain his royal title. In the Western Schism, Rupert backed Pope Boniface IX who, however, was reluctant to acknowledge his rule in view of the Luxembourg claims. After the king had won some recognition in Southern Germany, he started a campaign to Italy, where he hoped to crush the rule of Gian Galeazzo Visconti over the thriving Duchy of Milan and to be crowned Holy Roman Emperor by the Pope. In the autumn of 1401 he crossed the Alps, but was defeated at Brescia and in April 1402 Rupert returned to Germany. The news of this failure increased the disorder in Germany, but the king met with some success in his efforts to restore peace. The Luxembourg resistance waned after Wenceslaus was arrested at Prague Castle by his brother Sigismund in March 1402 and the next year his lordship was finally recognized by the Pope. Rupert also gained the support of England by the marriage of his son Louis with