Born on March 21, 1839, in Blackstone, Massachusetts, his father had helped combat the Dorr Rebellion in neighboring Rhode Island, and his great-grandmother was Deborah Sampson. At age ten his parents moved to the Utopian community of Hopedale, Massachusetts. In Hopedale he trained to become a printer, and his first job was as a printer's assistant in a newspaper influenced by Adin Ballou. In 1861 he left to Boston, where he enlisted into the Union Army to fight in the American Civil War. The enlistment clerk wrote his profession as painter rather than printer when he signed up. This caused him to be changed from being an infantryman to becoming a combat engineer. He joined as a private in 1862 and became a corporal in the Regular Battalion of Engineers serving until May 1865.""History of Engineer Troops in the Civil War", Fort Leavenworth News, Fort Leavenworth, Kansas, volume VI, number 45, February 10, 1911, page 2.
