New York is a state in the Northeastern region of the United States. New York is the 27th most extensive, the 3rd most populous, and the 7th most densely populated of the 50 United States. New York is bordered by New Jersey and Pennsylvania to the south, and by Connecticut, Massachusetts and Vermont to the east. The state has a maritime border with Rhode Island east of Long Island, as well as an international border with the Canadian provinces of Ontario to the north and west, and Quebec to the north. The state of New York is often referred to as New York State to distinguish it from the city of New York. New York City, with a population of over 8.1 million, is the most populous city in the United States. It is known for its status as a financial, cultural, transportation, and manufacturing center, and for its history as a gateway for immigration to the United States. According to the U.S. Department of Commerce, it is also a destination of choice for many foreign visitors. Both the state and city were named for the 17th century Duke of York, James Stuart, future James II and VII of England and Scotland.