Spencer Perceval (1 November 1762 – 11 May 1812) was a British statesman and barrister. He was Prime Minister of the United Kingdom from October 1809 until his assassination in May 1812. Perceval is the only British prime minister to have been assassinated, and the only solicitor-general or attorney-general to have become prime minister.