After the death of his father of testicular cancer in 1767, he was left at first without parental supervision, since his mother had been banished from her husband's court after giving birth to a son fathered by an actor. Maximilian was carefully educated under the supervision of his uncle, DukeChristian IV ofZweibrücken,[1] who settled him in theHôtel des Deux-Ponts. He became Count ofRappoltstein in 1776[citation needed] and took service in 1777 as acolonel in theFrench Royal Army. He rose rapidly to the rank ofmajor-general.[1] From 1782 to 1789, he was stationed atStrasbourg.[1] During his time at theUniversity of Strasbourg,Klemens von Metternich, the futureAustrian chancellor, was for some time accommodated by Prince Maximilian.[2] By the outbreak of theFrench Revolution, Maximilian exchanged the French for the Austrian service and took part in the opening campaigns of theFrench Revolutionary Wars.[1]
Duke of Zweibrücken and Elector of Bavaria and the Palatinate
On 1 April 1795, Maximilian succeeded his brotherCharles II as Duke of Zweibrücken, however his duchy was entirely occupied by revolutionary France at the time.[1]
On 16 February 1799, he becameElector of Bavaria[1] andCount Palatine of the Rhine,Arch-Steward of the Empire, andDuke of Berg upon the extinction of thePalatinate-Sulzbach line at the death of ElectorCharles Theodore of Bavaria.[1] The new elector, as Maximilian IV Joseph, found theBavarian army in abject condition on his accession to the throne: Hardly any of the units were at full strength, the Rumford uniforms were unpopular and impractical, and the troops were badly-trained. The young Prince-Elector, who had served under theAncien Régime in France as a colonel in theRoyal Deux-Ponts Regiment, made the reconstruction of the army a priority.
Maximilian's sympathy with France and the ideas ofenlightenment at once manifested itself when he acceded to the throne of Bavaria. In the newly organized ministry,Count Max Josef von Montgelas, who, after falling into disfavour with Charles Theodore, had acted for a time as Maximilian Joseph's private secretary, was the most potent influence, wholly "enlightened" and French.[1] Agriculture and commerce were fostered, the laws were ameliorated, a new criminal code drawn up, taxes and imposts equalized without regard to traditional privileges, while a number of religious houses were suppressed and their revenues used for educational and other useful purposes.[1] He closed theUniversity of Ingolstadt in May 1800 and moved it toLandshut.[citation needed]
In foreign affairs, Maximilian Joseph's attitude was, from the German point of view, less commendable. He never had any sympathy with the growing sentiment of German nationality, and his attitude was dictated by wholly dynastic, or at least Bavarian, considerations. Until 1813, he was the most faithful ofNapoleon's German allies, the relationship cemented by the marriage of his eldest daughter toEugène de Beauharnais. His reward came with theTreaty of Pressburg (26 December 1805), by the terms of which he was to receive the royal title and important territorial acquisitions inSwabia andFranconia to round off his kingdom. He assumed the title of king on 1 January 1806.[1] On 15 March, he ceded the Duchy of Berg to Napoleon's brother-in-lawJoachim Murat.[citation needed] After theWar of the Fifth Coalition in 1809 he receivedTyrol andInnviertel regions from the defeated Austria.
The new King ofBavaria was the most important of the princes belonging to theConfederation of the Rhine, and remained Napoleon's ally until the eve of theBattle of Leipzig, when by theTreaty of Ried (8 October 1813) he made the guarantee of the integrity of his kingdom the price of his joining the Allies.[1] On 14 October, Bavaria made a formal declaration of war againstNapoleonic France. The treaty was passionately backed by Crown PrinceLudwig and byMarshal von Wrede.[citation needed]
By the firstTreaty of Paris (3 June 1814), however, he returned Tyrol toAustria in exchange for the formerGrand Duchy of Würzburg. At theCongress of Vienna, which he attended in person, Maximilian had to make further concessions to Austria,in cedingSalzburg and the regions of Innviertel andHausruckviertel[citation needed] in return for the western part of the oldPalatinate. The king fought hard to maintain the contiguity of the Bavarian territories as guaranteed at Ried but the most he could obtain was an assurance fromMetternich in the matter of theBaden succession, in which he was also doomed to be disappointed.[3]
Monument to Max I Joseph, outside of the National Theatre, Munich (1835)
At Vienna and afterwards Maximilian sturdily opposed any reconstitution of Germany which should endanger the independence of Bavaria, and it was his insistence on the principle of full sovereignty being left to the German reigning princes that largely contributed to the loose and weak organization of the newGerman Confederation. TheFederative Constitution of Germany (8 June 1815) of theCongress of Vienna was proclaimed in Bavaria, not as a law but as an international treaty. It was partly to secure popular support in his resistance to any interference of theFederal diet in the internal affairs of Bavaria, partly to give unity to his somewhat heterogeneous territories, that Maximilian on 26 May 1818 granted a liberal constitution to his people. Montgelas, who had opposed this concession, had fallen in the previous year, and Maximilian had also reversed his ecclesiastical policy, signing on 24 October 1817 aconcordat with Rome by which the powers of the clergy, largely curtailed under Montgelas's administration, were restored.[1]
The newparliament proved to be more independent than he had anticipated and in 1819 Maximilian resorted to appealing to the powers against his own creation; but his Bavarian "particularism" and his genuine popular sympathies prevented him from allowing theCarlsbad Decrees to be strictly enforced within his dominions. The suspects arrested by order of theMainz Commission he was accustomed to examine himself, with the result that in many cases the whole proceedings were quashed, and in not a few the accused dismissed with a present of money.[1]
Under the reign of Maximilian Joseph the Bavarian Secularization (1802–1803) led to the nationalisation of cultural assets of the Church. The Protestants were emancipated. In 1808 he founded theAcademy of Fine Arts Munich.[citation needed]
The city of Munich was extended by the first systematic expansion with the newBrienner Strasse as core. In 1810 Max Joseph ordered construction of theNational Theatre Munich in French neo-classic style. The monumentMax-Joseph Denkmal before the National Theatre was created in the middle of the squareMax-Joseph-Platz as a memorial for King Maximilian Joseph byChristian Daniel Rauch and carried out by Johann Baptist Stiglmaier. It was only revealed in 1835 since the king had rejected to be eternalized in sitting position.[citation needed]
In 1801 he led the rescue operation when a glassmaker's workshop collapsed, saving the life ofJoseph von Fraunhofer, a 14-year-old orphan apprentice. Max Joseph donated books and directed the glassmaker to give Fraunhofer time to study. Fraunhofer went on to become one of the most famous optical scientists and artisans in history, inventing the spectroscope and spectroscopy, making Bavaria noted for fine optics, and joining the nobility before his death at age 39.[citation needed]
As a monarch, Max Joseph was very close to the citizens, walked freely along the streets of Munich without great accompaniment, and conversed with his people in a casual manner. Regardless, he was somewhat eccentric, like some of his descendants and successors. Maximilian married twice and had children by both marriages:[1]