New York City, Province of New York, British America