Walpole's strategy of keeping Great Britain at peace contributed greatly to the country's prosperity. Walpole also managed to secure the position of the Hanoverian Dynasty, and effectively countervailed Jacobitism. The Jacobite threat ended, soon after Walpole's term ended, with the defeat of the rebellion of 1745. Later in the century, the Whig MP Edmund Burke "admitted him into the whig pantheon". Burke wrote: