He served as the 12th Governor of New York , United States Senator and the United States Secretary of State under Abraham Lincoln and Andrew Johnson .
He was also the United States Secretary of State for two presidents , Abraham Lincoln and Andrew Johnson .