Answer
Ivar the Boneless, a legendary Viking leader, captured York in 866 AD. He was one of the commanders of the Great Heathen Army that invaded England. After capturing the city, the Vikings renamed it Jorvik and made it the capital of their new kingdom.