He served as a member of the Ohio State Senate from 1859 to 1861. Garfield opposed Confederate secession, served as a major general in the Union Army during the American Civil War, and fought in the battles of Middle Creek, Shiloh, and Chickamauga. He was first elected to Congress in 1862 to represent Ohio's 19th district. His biographer Ira Rutkow writes that Garfield's years at Williams gave Garfield the opportunity to know and respect those of different social backgrounds, and that despite his origin as an unsophisticated Westerner, he was liked and respected by socially conscious New Englanders.