Following the Battle of Long Island during the American Revolutionary War, British troops used Huntington as their headquarters, and remained encamped there until the end of the war.