New York City, which is both the largest city in the state and in the United States, is known for its history as a gateway for immigration to the United States and its status as a financial, cultural, transportation, and manufacturing center. It was named after the 17th century Duke of York, James Stuart, future James II and VII of England and Scotland.