The British captured the colony during the Second Anglo-Dutch War and governed it as the Province of New York. Both state and city were named for the 17th century Duke of York, James Stuart, future James II and VII of England and Scotland.
The borders of the British colony, the Province of New York, were roughly similar to those of the present-day state. About one third of all the battles of the Revolutionary War took place in New York. New York became an independent state on July 9, 1776, and enacted its constitution in 1777. The state ratified the United States Constitution on July 26, 1788 to become the eleventh state of the union.
Source: Wikipedia at http://en.wikipedia.org/wiki/New_York
Ontario and Quebec. US states bordering it are Vermont, Massachusetts, Connecticut, Pennsylvania, New Jersey and Ohio. It is also bordered by Lake Erie, Lake Champlain and the Atlantic ocean.