James Abram Garfield (November 19, 1831 – September 19, 1881) was the 20th president of the United States, serving from March 4, 1881, until his death by assassination six and a half months later. He is the only sitting member of the United States House of Representatives to be elected to the presidency.Garfield entered politics as a Republican in 1857. He served as a member of the Ohio State Senate from 1859 to 1861. The action, later known as the Battle of Shiloh, was the bloodiest of the war to date; Garfield was exposed to fire for much of the day, but emerged uninjured.