 He entered Trinity College in 1860.Wells was visiting his father in Wisconsin in 1862 when the American Civil War broke out, and he was recruited as a member of the 32nd Wisconsin Infantry Regiment.He fought in the Battle of Vicksburg in 1863, and in 1864 was mustered out and returned to Trinity College, from which he was graduated in 1867.