Garfield was born into poverty in a log cabin and grew up poor in Northeast Ohio. After graduating from Williams College, Garfield studied law and became an attorney before entering politics as a Republican in 1857. 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. Throughout Garfield's congressional service after the war, he firmly supported the gold standard and gained a reputation as a skilled orator. He initially agreed with Radical Republican views on Reconstruction, but later favored a moderate approach to civil rights enforcement for freedmen.