Why is New York City named and York?

The city is named after York, England, after the Duke of York and Albany, the future James II of England, who was granted the land by his brother King Charles II.
Copyright Wanderlust World © https://www.ynyoo.com