Maximilian rehabilitated the Bavarian state finances, reorganised the Bavarian administration and army, and introduced mercantilist measures as well as a new corpus juris, the Codex Maximilianeus.
The Duke died at Ingolstadt on 27 September 1651.