 In 1823 he became Governor of Vermont.After being twice re-elected, in 1826 he declined re-election and went back to practicing law until 1829 when he became envoy extraordinary and minister plenipotentiary to the court of Spain.William T. Barry was appointed to the post in April, 1835, but died in Liverpool on August 30, without assuming his duties in Spain.