Williams Huntley was one of my 5th great-grandfathers. He, like many able-bodied men of his day, was a soldier of the American Revolution. He served in Col. Peter Van Ness' 9th Albany County Militia Regiment, which in July of 1777 was called to Claverack, New York, to reinforce the Continental Army during the Saratoga Campaign until the surrender of Burgoyne.
See page 116-117 of New York in the Revolution as Colony and State, published in 1904 by the New York State Comptroller's Office, listing "William Huntly" under "Enlisted men":
Williams worked in the Commissary Dept. in 1781 and was counted on the census of 1790 and 1800, living in Hillsdale, Columbia county, New York, listed as William Huntley. Hillsdale is southeast of Albany, near the Massachusetts border, as shown in this Google Map: