Question: When did the country the Duke of York returned to change to a constitutional monarchy?

full_context: Document 1: Constitutional monarchy: In the Kingdom of England, the Glorious Revolution of 1688 led to a constitutional monarchy restricted by laws such as the Bill of Rights 1689 and the Act of Settlement 1701, although limits on the power of the monarch ('a limited monarchy') are much older than that (see Magna Carta). At the same time, in Scotland the Convention of Estates enacted the Claim of Right Act 1689, which placed similar limits on the Scottish monarchy.
Document 2: Pug: Pugs were brought from China to Europe in the sixteenth century and were popularized in Western Europe by the House of Orange of the Netherlands, and the House of Stuart. In the United Kingdom, in the nineteenth century, Queen Victoria developed a passion for pugs which she passed on to other members of the Royal family.
Document 3: New York City: In 1664, Peter Stuyvesant, the Director-General of the colony of New Netherland, surrendered New Amsterdam to the English without bloodshed. The English promptly renamed the fledgling city "New York" after the Duke of York (later King James II).
Document 4: Huguenots: Stadtholder William III of Orange, who later became King of England, emerged as the strongest opponent of king Louis XIV after the French attacked the Dutch Republic in 1672. William formed the League of Augsburg as a coalition to oppose Louis and the French state. Consequently, many Huguenots considered the wealthy and Calvinist Dutch Republic, which led the opposition to Louis XIV, as the most attractive country for exile after the revocation of the Edict of Nantes. They also found many French-speaking Calvinist churches there.
Document 5: Ice skating: Ice skating was brought to Britain from the Netherlands, where James II was briefly exiled in the 17th century. 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.
Document 6: Glorious Revolution: The Glorious Revolution, also called the Revolution of 1688, was the overthrow of King James II of England (James VII of Scotland) by a union of English Parliamentarians with the Dutch stadtholder William III, Prince of Orange, who was James's nephew and son - in - law. William's successful invasion of England with a Dutch fleet and army led to his ascension to the throne as William III of England jointly with his wife, Mary II, James's daughter, after the Declaration of Right, leading to the Bill of Rights 1689.
Document 7: Prime minister: In the mid 17th century, after the English Civil War (1642–1651), Parliament strengthened its position relative to the monarch then gained more power through the Glorious Revolution of 1688 and passage of the Bill of Rights in 1689. The monarch could no longer establish any law or impose any tax without its permission and thus the House of Commons became a part of the government. It is at this point that a modern style of prime minister begins to emerge.
Document 8: Dutch colonization of the Americas: In 1664, an English naval expedition ordered by Prince James, Duke of York and of Albany (later King James II & VII) sailed in the harbor at New Amsterdam, threatening to attack. Being greatly outnumbered, Director - General Peter Stuyvesant surrendered after negotiating favorable articles of capitulation. The Province then took a new name, New York (from James's English title). Fort Orange was renamed Fort Albany (from James's Scottish title). The region between the lower Hudson and the Delaware was deeded to proprietors and called New Jersey.
Document 9: England: England has a strong sporting heritage, and during the 19th century codified many sports that are now played around the world. Sports originating in England include association football, cricket, rugby union, rugby league, tennis, boxing, badminton, squash, rounders, hockey, snooker, billiards, darts, table tennis, bowls, netball, thoroughbred horseracing, greyhound racing and fox hunting. It has helped the development of golf, sailing and Formula One.
Document 10: New Amsterdam: New Amsterdam was renamed New York on September 8, 1664, in honor of the Duke of York (later James II of England), in whose name the English had captured it. After the Second Anglo - Dutch War of 1665 -- 1667, England and the United Provinces of the Netherlands agreed to the status quo in the Treaty of Breda. The English kept the island of Manhattan, the Dutch giving up their claim to the town and the rest of the colony, while the English formally abandoned Surinam in South America, and the island of Run in the East Indies to the Dutch, confirming their control of the valuable Spice Islands. Today much of what was once New Amsterdam is New York City.
Document 11: History of New York City (prehistory–1664): The history of New York City has been influenced by the prehistoric geological formation during the last glacial period of the territory that is today New York City. The area was long inhabited by the Lenape; after initial European exploration in the 16th century, the Dutch established New Amsterdam in 1626. In 1664, the English conquered the area and renamed it New York.
Document 12: Bill of Rights 1689: These ideas reflected those of the political thinker John Locke and they quickly became popular in England. It also sets out -- or, in the view of its drafters, restates -- certain constitutional requirements of the Crown to seek the consent of the people, as represented in Parliament.
Document 13: New Amsterdam: On August 27, 1664, while England and the Dutch Republic were at peace, four English frigates sailed into New Amsterdam's harbor and demanded New Netherland's surrender, whereupon New Netherland was provisionally ceded by Stuyvesant. On September 6, Stuyvesant sent lawyer Johannes De Decker and five other delegates to sign the official Articles of Capitulation. This was swiftly followed by the Second Anglo - Dutch War, between England and the Dutch Republic. In June 1665, New Amsterdam was reincorporated under English law as New York City, named after the Duke of York (later King James II). He was the brother of the English King Charles II, who had been granted the lands.
Document 14: Bill of Rights 1689: The Bill of Rights, also known as the English Bill of Rights, is an Act of the Parliament of England that deals with constitutional matters and sets out certain basic civil rights. It received the Royal Assent on 16 December 1689 and is a restatement in statutory form of the Declaration of Right presented by the Convention Parliament to William III and Mary II in February 1689, inviting them to become joint sovereigns of England. The Bill of Rights lays down limits on the powers of the monarch and sets out the rights of Parliament, including the requirement for regular parliaments, free elections, and freedom of speech in Parliament. It sets out certain rights of individuals including the prohibition of cruel and unusual punishment and reestablished Protestants to have arms for their defence within the rule of law. Furthermore, the Bill of Rights described and condemned several misdeeds of James II of England.
Document 15: History of field hockey: A game called hockey was played in English public schools in the early 19th century. Lord Lytton wrote in 1853 that On the common some young men were playing at hockey. That old - fashioned game, now very uncommon in England, except at schools... Hockey's popularity increased with that of other team games. A version of the game played in south - east London was rougher than the modern version, played on a very large field (247m by 64m), and used a cube of black rubber and rough planed sticks. The modern game was developed on the other side of London by Middlesex cricket clubs, especially Teddington Hockey Club. The members of these clubs were looking for winter exercise, but did not particularly care for football. In 1870, members of the Teddington cricket club, who had recently moved to play in Bushy Park, were looking for a winter activity. They experimented with a 'stick' game, based loosely on the rules of association football. Teddington played the game on the smooth outfield of their cricket pitch and used a cricket ball, so allowing smooth and predictable motion. By 1874 they had begun to draw up rules for their game, including banning the raising of the stick above shoulder height and stipulating that a shot at goal must take place within the circle in front of it. An association was formed in 1875, which dissolved after seven years, but in 1886 the Hockey Association was formed by seven London clubs and representatives from Trinity College, Cambridge. Blackheath were one of the founder members, but refused to accept the rules drawn up by the other clubs and left to found the National Hockey Union. The Union failed, but the Association grew rapidly.
ground_truth: 1688
sub_queries: What was the regnal name of the Duke of York? Answer: James II
What location did James II come back to? Answer: England
when did England change to a constitutional monarchy Answer: 1688