Given the task definition, example input & output, solve the new input case.
Given a context passage, generate a question from the passage such that its answer is shortest continous span from the passage.
Example: In 1582 the united provinces invited francis, duke of anjou to lead them; but after a failed attempt to take antwerp in 1583, the duke left the netherlands again. after the assassination of william of orange (10 july 1584), both henry iii of france and elizabeth i of england declined the offer of sovereignty. however, the latter agreed to turn the united provinces into a protectorate of england (treaty of nonsuch, 1585), and sent the earl of leicester as governor-general. this was unsuccessful and in 1588 the provinces became a confederacy. the union of utrecht is regarded as the foundation of the republic of the seven united provinces, which was not recognized by the spanish empire until the peace of westphalia in 1648.
Output: In what year did francis, duke of anjou leave the netherlands?
The generated question is perfect. Because the question is based on second sentence of the input passage and its answer is 1583.

New input case for you: The Peasant revolt in Flanders 1323-1328 was a popular revolt in late medieval Europe. Beginning as a series of scattered rural riots in late 1323, peasant insurrection escalated into a full-scale rebellion that dominated public affairs in Flanders for nearly five years until 1328. The uprising in Flanders was caused by both excessive taxations levied by the Count of Flanders Louis I, and by his pro-French policies. The insurrection had urban leaders and rural factions which took over most of Flanders by 1325. The revolt was led by Nicolaas Zannekin, a rich farmer from Lampernisse. Zannekin and his men captured the towns of Nieuwpoort, Veurne, Ypres and Kortrijk. In Kortrijk, Zannekin was able to capture the count himself. In 1325, attempts to capture Gent and Oudenaarde failed. The King of France, Charles IV intervened, whereupon Louis was released from captivity in February 1326 and the Peace of Arques was sealed. The peace soon failed, and the count fled to France when more hostilities erupted. Louis convinced his new liege Philip VI of France to come to his aid, and Zannekin and his adherents were decisively defeated by the French royal army in the Battle of Cassel.
Output:
What event happened first, Louis being released from capitivity, or the insurrection that had urban leaders and rural factions which took over most of Flanders?