Charles Grey , 2nd Earl Grey , KG , PC ( 13 March 1764 â `` 17 July 1845 ) ) was a British Whig statesman and Prime Minister .
Charles Grey , 2nd Earl Grey , KG , PC ( 13 March 1764 â `` 17 July 1845 ) , known as Viscount Howick between 1806 and 1807 , was Prime Minister of the United Kingdom of Great Britain and Ireland from 22 November 1830 to 16 July 1834 .