. After Johann Leonhard Hirschmann. Ernest Augustus died on 23 January 1698, leaving all of his territories to George with the exception of the
Prince-Bishopric of Osnabrück, an office he had held since 1661. George thus became Duke of
Brunswick-Lüneburg (also known as Hanover, after its capital) as well as
Archbannerbearer and a prince-elector of the
Holy Roman Empire. His court in Hanover was graced by many cultural icons such as the mathematician and philosopher
Gottfried Leibniz and the composers
George Frideric Händel and
Agostino Steffani. Shortly after George's accession to his paternal duchy,
Prince William, Duke of Gloucester, who was second-in-line to the English and Scottish thrones, died. By the terms of the English
Act of Settlement 1701, George's mother, Sophia, was designated as the heir to the English throne if the then reigning monarch,
William III, and his sister-in-law,
Anne, died without surviving issue. The
succession was so designed because Sophia was the closest Protestant relative of the
British royal family. Fifty-six Catholics with superior hereditary claims were bypassed. The likelihood of any of them converting to Protestantism for the sake of the succession was remote; some had already refused. In August 1701, George was invested with the
Order of the Garter and, within six weeks, the nearest Catholic claimant to the thrones, the former king
James II, died. William III died the following March and was succeeded by Anne. Sophia became heiress presumptive to the new Queen of England. Sophia was in her seventy-first year, thirty-five years older than Anne, but she was very fit and healthy and invested time and energy in securing the succession either for herself or for her son. However, it was George who understood the complexities of English politics and
constitutional law, which required further
acts in 1705 to naturalise Sophia and her heirs as English subjects, and to detail arrangements for the transfer of power through a regency council. In the same year, George's surviving uncle died and he inherited further German dominions: the
Principality of Lüneburg-
Grubenhagen, centred at
Celle. ,
Brunswick-Wolfenbüttel, and the
Prince-Bishopric of Osnabrück. During George's lifetime Hanover acquired
Lauenburg and
Bremen-Verden. Shortly after George's accession in Hanover, the
War of the Spanish Succession (1701–1714) broke out. At issue was the right of
Philip, the grandson of King
Louis XIV of France, to succeed to the Spanish throne under the terms of King
Carlos II's
will. The Holy Roman Empire, the
United Dutch Provinces,
England, Hanover and many other German states opposed Philip's right to succeed because they feared that the French
House of Bourbon would become too powerful if it also controlled Spain. As part of the war effort, George invaded his neighbouring state,
Brunswick-Wolfenbüttel, which was pro-French, writing out some of the battle orders himself. The invasion succeeded with few lives lost. As a reward, the prior Hanoverian annexation of the
Duchy of Saxe-Lauenburg by George's uncle was recognised by the British and Dutch. In 1706, Elector
Maximilian II Emanuel of Bavaria was deprived of his offices and titles for siding with Louis against the Empire. The following year, George was invested as an Imperial Field Marshal with command of the
Imperial army stationed along the Rhine. His tenure was not altogether successful, partly because he was deceived by his ally,
John Churchill, 1st Duke of Marlborough, into a diversionary attack, and partly because
Emperor Joseph I appropriated the funds necessary for George's campaign for his own use. Despite this, the German princes thought he had acquitted himself well. In 1708, they formally confirmed George's position as a prince-elector in recognition of, or because of, his service. George did not hold Marlborough's actions against him; he understood they were part of a plan to lure French forces away from the main attack. In 1709, George resigned as field marshal, never to go on active service again. In 1710, he was granted the dignity of
Arch-Treasurer of the Empire, an office formerly held by the
Elector Palatine; the absence of the Elector of Bavaria allowed a reshuffling of offices. The Emperor's death 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 removed from the French line of succession, and the Elector of Bavaria was restored. ==Accession in Great Britain and Ireland==