Maximilian III Joseph (1745-1777) by the peace of Füssen, signed on 22 April 1745, obtained the restitution of his dominions in return for a formal acknowledgment of the Pragmatic Sanction.
In 1792, French revolutionary armies overran the Palatinate; in 1795 the French, under Moreau, invaded Bavaria itself and advanced to Munich where they were received with joy by the long-suppressed Liberals, and laid siege to Ingolstadt.