Maximillian Emanuel II of Bavaria (1662–1726) was King of Bavaria and Prince-Elector of the Holy Roman Empire.