The following data is extracted from Genealogy and Biography of Ontario County, New York.
(II) James, son of Hugh Thompson, was born in Derryfield, New Hampshire, November 14, 1758. He served throughout the revolutionary struggle in Captain Amos Morrill's company, Colonel John Stack's regiment, raised by the state of New Hampshire; he enlisted as a private, and was promoted to corporal. He also held the title of muster master.
Source: Genealogy and Biography of Ontario County, New York