He was a friend of Charles Middleton, William Pitt and William Wilberforce and he worked with them for the abolition of slavery.