Answer
John Hancock served in the Army for four decades, from the late 1750s to the late 1790s. He fought in the French and Indian War, the American Revolution, and the Quasi-War with France. He was a colonel in the Continental Army during the Revolution and a major general in the United States Army during the Quasi-War.