sentences:  There, he served as chairman of the Committee on Expenditures in the Post Office Department from 1867 to 1869.Afterward, he was appointed Ambassador to Venezuela and Brazil by President Ulysses S. Grant in 1869, but his nomination was withdrawn and was instead appointed Territorial Governor of New Mexico which he served as from 1869 to 1871.Pile was again appointed Ambassador to Venezuela by President Grant in 1871, which he served as until 1874.