 In 1709, George resigned as field marshal, never to go on active service again. In 1710, he was granted the dignity of Archtreasurer of the Empire, an office formerly held by the Elector Palatine — the absence of the Elector of Bavaria allowed a reshuffling of offices. The death of the Emperor in 1711 threatened to destroy the balance of power in the opposite direction, so the war ended in 1713 with the ratification of the Treaty of Utrecht. Philip was allowed to succeed to the Spanish throne but was removed from the French line of succession, and the Elector of Bavaria was restored.
