sentences:  Ayer farmed and worked as a merchant for several years.During the Civil War, Ayers enlisted in 1861 in the Union Army as a private in Company A, Fourth Regiment, Maine Volunteer Infantry.He was later promoted to first lieutenant and was mustered out as a captain on March 22, 1863, for disability.