Germany was a country in ruin at the onset of the Thirty Year War. Duke Maximilian I, an elector absolutist that ruled through the period of the Thirty Year War was responsible for the financial stability and further development of Bavaria . Although his rule was more in line with that of a monarch are dictator, he encouraged agriculture and industries and building, even the restoration of churches and monasteries. The judicial system was reorganized and a militia was founded. To some the iron fist style rule may have been a difficult time for Bavaria, but it established a unity and order, which would also lead to the territorial growth of Bavaria. Maximilian rule was successful to the extent that at the Peace of Westphalia, the territorial gains made during the war were retained . Straying far from his father’s footsteps, Elector, Maximilian II Immanuel, who ruled from 1679 – 1726, succeeded in undoing what his father had set in place and brought his country to war with the Ottoman Empire. The electorate line of Maximilian I would actually end in 1777.
 Maxfield, John. 2009. “A Comprehensive Outline of World History.” 565-614. Creative Commons
Attribution 2.0 Generic license. https://umuc.equella.ecollege.com/file/fcc26600-d98b-4d89-9ff1-aa95db85b389/1/Chapter31A.D.1601to1700.pdf
 Croxton, Derek (1999). “The Peace of Westphalia of 1648 and the Origins of Sovereignty”.
International History Review. 21 (3): 569â€“591. doi:10.1080/07075332.1999.9640869