Maximilian II of Bavaria was king from 20 March 1848 until his death on 10 March 1864. Born in Munich on 28 November 1811, he was the eldest child of Ludwig I and Therese of Saxe-Hildburghausen. He studied at Göttingen and Berlin, travelled through Germany, Italy and Greece, and joined the Bavarian council of state in 1836. As crown prince, he brought artists and scholars to Hohenschwangau and pursued scientific and historical studies.
He came to the throne after Ludwig I abdicated during the German Revolution of 1848. Maximilian initially appointed ministers who suggested a liberal course, but after an uprising in the Bavarian Palatinate was suppressed in 1849, his government moved toward stronger monarchical rule. He sought a moderate position between liberalism, Pan-German nationalism and Catholic conservatism, while working to preserve Bavaria’s independence. His alignment with Austria in the disputes with Prussia helped shape Bavarian policy, though he also tried to balance the rival powers.
Maximilian worked to make Munich a centre of learning and culture, inviting scholars and writers including Justus von Liebig, Paul Heyse and Heinrich von Sybel. He also supported research into Bavarian folk art, dress, dialects and customs as a way to strengthen regional identity. His cultural and architectural projects included the Bavarian National Museum, Maximilianstrasse and the Bavarian Maximilian Order for Science and Art, established in 1853. In 1858, he undertook a long journey on foot through Bavaria, later commemorated by the Maximiliansweg.
In 1842 he married Marie Friederike Franziska Hedwig of Prussia. Their sons were Ludwig II and Otto, both of whom later became kings. After a brief, unexpected illness, Maximilian died in Munich on 10 March 1864 and was buried in the Theatinerkirche. His eldest son succeeded him as Ludwig II.