Question: The Duke of York took a new name when he became king, left the country and came back. What year did the Middle Ages end in that country?

<P0-S0> The 14th century in England saw the Great Famine and the Black Death, catastrophic events that killed around half of England's population, throwing the economy into chaos and undermining the old political order. <P0-S1> Social unrest followed, resulting in the Peasants' Revolt of 1381, while the changes in the economy resulted in the emergence of a new class of gentry, and the nobility began to exercise power through a system termed bastard feudalism. <P0-S2> Nearly 1,500 villages were deserted by their inhabitants and many men and women sought new opportunities in the towns and cities. <P0-S3> New technologies were introduced, and England produced some of the great medieval philosophers and natural scientists. <P0-S4> English kings in the 14th and 15th centuries laid claim to the French throne, resulting in the Hundred Years' War. <P0-S5> At times England enjoyed huge military success, with the economy buoyed by profits from the international wool and cloth trade, but by 1450 the country was in crisis, facing military failure in France and an ongoing recession. <P0-S6> More social unrest broke out, followed by the Wars of the Roses, fought between rival factions of the English nobility. <P0-S7> Henry VII's victory in 1485 conventionally marks the end of the Middle Ages in England and the start of the Early Modern period. <SEP> <P1-S0> In 1664, Peter Stuyvesant, the Director-General of the colony of New Netherland, surrendered New Amsterdam to the English without bloodshed. <P1-S1> The English promptly renamed the fledgling city "New York" after the Duke of York (later King James II). <SEP> <P2-S0> Ice skating was brought to Britain from the Netherlands, where James II was briefly exiled in the 17th century. <P2-S1> When he returned to England, this 'new' sport was introduced to the British aristocracy, and was soon enjoyed by people from all walks of life. <SEP> <P3-S0> chad everett dukes (born december 29, 1971 in albany, new york) is a former american football running back in the national football league for the washington redskins (1998–2000), san diego chargers (1998), st. louis rams (2000) and the jacksonville jaguars (2000) and played four games total in his nfl career (two for jaguars, two for skins). <P3-S1> he played college football at the university of pittsburgh. <P3-S2> dukes played on the albany firebirds (1998–1999) before his nfl career, the colorado crush (2004), the manchester wolves (2002–2003) and the philadelphia soul after his nfl career in the arena football league. <P3-S3> dukes won afl ironman of the year in 1998 when he was with the firebirds. <P3-S4> in 2004, he was a part of the 2004 crush arenabowl xix championship team. <P3-S5> in 2002, dukes was named the defensive af2 tough man of the year while playing for the manchester wolves in 2002. <SEP> <P4-S0> lancelot crashes a performance of the camelot musical, starring hugh jackman and alice eve as king arthur and queen guinevere, but larry and the others chase him to the theatre roof, where the new york exhibits begin to die. <P4-S1> lancelot then sees that the quest was about them and gives the tablet back. <P4-S2> the moonlight restores the tablet's power, saving the exhibits. <P4-S3> they decide that ahkmenrah and the tablet should stay with his parents, even if it means the new york exhibits will no longer come to life. <P4-S4> back in new york, larry spends some final moments with his friends before sunrise.