Garfield decided that the academic life was not for him and studied law privately. He was admitted to the Ohio bar in 1860. Even before admission to the bar, he entered politics. He was elected an Ohio state senator in 1859, serving until 1861. He was a Republican all his political life. He was a general in the American Civil War, and fought in the Battle of Shiloh and the Chattanooga Campaign.