Spencer Perceval, KC (1 November 1762 – 11 May 1812) was the Prime Minister of the United Kingdom from 4 October 1809 until his death on 11 May 1812. He is the only British Prime Minister to have been assassinated. He is also the only Solicitor General or Attorney General to have been Prime Minister.The younger son of an Irish earl, Perceval was educated at Harrow and Trinity College, Cambridge. He studied law at Lincoln’s Inn, practised as a barrister on the Midland Circuit and in 1796 became a King’s Counsel before entering politics at the age of 33 as a Member of Parliament for Northampton. A follower of William Pitt, Perceval always described himself as a "friend of Mr Pitt" rather than a Tory. Perceval was opposed to Catholic emancipation and reform of Parliament; he supported the war against Napoleon and the abolition of the slave trade. He was opposed to hunting, gambling and adultery, did not drink as much as most Members of Parliament, gave generously to charity, and enjoyed spending time with his twelve children.After a late entry into politics, his rise to power was rapid; he was Solicitor and then Attorney General in the Addington Ministry, Chancellor of the Exchequer and Leader of the House of Commons in the Portland Ministry, and became Prime Minister in October 1809. At the head of a weak ministry, Perceval faced a number of crises during his term in office including an inquiry into the disastrous Walcheren expedition, the madness of King George III, economic depression and Luddite riots. He survived these crises, successfully pursued the Peninsular War in the face of opposition defeatism, and won the support of the Prince Regent. His position was looking stronger by the spring of 1812, when he was assassinated by John Bellingham, a merchant with a grievance against the Government, who shot him dead in the lobby of the House of Commons.Although Perceval was a seventh son and had four older brothers who survived to adulthood, the Earldom of Egmont reverted to one of his great-grandsons in the early 20th century and remained in the hands of his descendants until its extinction in 2011.