Henry John Temple, 3rd Viscount Palmerston, KG, GCB, PC (20 October 1784 – 18 October 1865) was a British statesman who served twice as Prime Minister of the United Kingdom in the mid-19th century. He began his parliamentary career as a Tory and ended it as a Liberal.