King of Bavaria
In 1806, Maximilian Joseph became King of Bavaria, as Maximilian I Joseph, and the role of Elector ceased to exist.