King Charles II of England gave a land grant to James Duke of York, which meant that New Jersey became a British colony.

During the Second Anglo-Dutch War (1664–1667), English forces gained control of the Dutch fur trading colony of New Netherland, and in 1664, Charles II gave this colony (including present-day New Jersey) to his brother James, Duke of York (later James II). The colony and city were renamed New York in his honor.

Source