James Abram Garfield was the 20th president of the United States, serving from March 1881 until his death in September that year after being shot in July.