 He was elected justice of the peace in 1823.He served in the Winnebago War in 1827, as well as the Black Hawk War in 1831-1832.Because of his military service he was often addressed as "General Adams."