Task: Question Generation
Input (English): Passage: In December 1340, the payment of the pledge was due. Since this did not happen, the pledged lands fell to Mecklenburg. However, no investiture of the Prince of Mecklenburg was made by the Danish king Valdemar IV Atterdag. In autumn 1342, the Pomeranian Marshal, Wedego Bugenhagen, gained control of Grimmen. In September 1343, the Mecklenburg army under Albert II succeeded in storming the town. Thanks to mediation by the towns of Stralsund and Greifswald, a ceasefire was agreed in October 1343. But the agreed arbitration never took place. Valdemar IV Atterdag, as the former feudal lord avoided making a decision, as he feared that the losing party would desert him. Because the sons of Vartislav IV of Pomerania-Wolgast could not redeem the pledged estates, but continued to claim them back, there was renewed fighting with Mecklenburg in 1351. With the support of Barnim III of Pomerania-Stettin, an army led by Baron Klaus Hahn inflicted a devastating defeat on Mecklenburg on 25 October 1351 at the Schopendamm near Loitz. Amongst the fallen on the Pomeranian side, was Count John IV the Younger of Gützkow. As the Gützkow count had no male offspring, the county of Gützkow was later seized by Barnim III.
Output (English): How many years after the payment of the pledge was due did Wedego gain control of Grimmen?