 As an MP he worked for changes in prison conditions and criminal law and for the abolition of slavery, in which he was helped by his sister-in-law Louisa Gurney Hoare.He also opposed capital punishment and pushed for its abolition.Although he never accomplished this last goal, he worked to restrict the crimes for which capital punishment was sentenced.