Jérôme Bonaparte
He remained at Magdeburg carrying out his duties until the Kingdom of Westphalia was formed in November 1807 and Jérôme Bonaparte was made its king.