 Starting in 1846 he attended a military preparatory school, and was admitted to the United States Military Academy at West Point, New York in 1849.However, he resigned January 31, 1853 and moved to Boston to work in manufacturing.On January 1, 1856 he married Anna Robeson.