George I (George Louis; ; 28 May 1660 – 11 June 1727) was King of Great Britain and Ireland from 1 August 1714 and ruler of the Electorate of Hanover within the Holy Roman Empire from 23 January 1698 until his death in 1727. He was the first British monarch of the House of Hanover as the most senior Protestant descendant of his great-grandfather James VI and I. Born in Hanover to Ernest Augustus and Sophia of Hanover, George inherited the titles and lands of the Duchy of Brunswick-Lüneburg from his father and uncles. A succession of European wars expanded his German domains during his lifetime; he was ratified as prince-elector of Hanover in 1708. After the deaths in 1714 of his mother, Sophia, and his second cousin Anne, Queen of Great Britain, George ascended the British throne as Anne's closest living Protestant relative under the Act of Settlement 1701. Jacobites attempted, but failed, to depose George and replace him with James Francis Edward Stuart, Anne's Catholic half-brother. During George's reign the powers of the monarchy diminished, and Britain began a transition to the modern system of cabinet government led by a prime minister. Towards the end of his reign, actual political power was held by Robert Walpole, now recognised as Britain's first de facto prime minister. George died of a stroke on a trip to his native Hanover, where he was buried. He is the most recent British monarch to be buried outside the United Kingdom. Early life George was born on 28 May 1660 in the city of Hanover in the Duchy of Brunswick-Lüneburg in the Holy Roman Empire. He was the eldest son of Ernest Augustus, Duke of Brunswick-Lüneburg, and his wife, Sophia of the Palatinate. Sophia was the granddaughter of King James I of England through her mother, Elizabeth Stuart, Queen of Bohemia. For the first year of his life George was the only heir to the German territories of his father and three childless uncles. George's brother, Frederick Augustus, was born in 1661, and the two boys (known respectively by the family as "Görgen" and "Gustchen") were brought up together. Their mother was absent for almost a year (1664–1665) during a long convalescent holiday in Italy but corresponded regularly with her sons' governess and took a great interest in their upbringing, even more so upon her return. Sophia bore Ernest Augustus another four sons and