Why is New York Called New York?

Both New York State and New York City were named for Duke of York, James Stuart who lived during the 17th century. James, future James II and VII were of England and Scotland. For more information, look here: