Input: Within days of Boleslaw's murder, Casimir III of Poland invaded the principality to save Polish merchants and Catholic residents from attacks in Lviv. In June 1340, Casimir returned with a larger army. After four weeks he reached an agreement with local nobles and their leader Dmytro Dedko: in return for their services, local nobles would enjoy protection from the Polish king. However, the agreement was short-lived. The data is sparse, but it seems that Galicia-Volhynia was divided between the Lithuanians and local nobles . During the winter 1340-1341, the Golden Horde attacked Poland and reached Lublin as a result of diminished tribute from the principality to the Mongol khan. The raid weakened Polish influence in the principality. Eufemija, Boleslaw's widow, was drowned in the Vistula in winter 1342 to keep her out of the succession disputes. Detko, who managed to play Poles, Lithuanians, and Mongols against each other, disappeared from written sources in 1344. The same year direct conflict between Poland and Lithuania renewed, but soon a peace treaty was signed: Volhynia was assigned to Liubartas and Galicia to Casimir.

Question: What happened first, Casimir returned with a larger army or Boleslaw's widow drowned in the Vistula?

Input: He was the Speaker of the Parliament extraordinary held in Warsaw on 3 December to 24 December 1613. During the war with Sweden and the fought in Livonia winning to the Swedish army at Kroppenhof, Lixna, Slavskoye and Dyneburg. It is because of fighting with the Swedes until 1629, he was appointing Palatine-Governor of Smolensk region, but the nomination was already in 1625. Seeing the threat from Russia, Gosiewski immediately upon taking the governorate of Smolensk began to renovate the walls of the city. He personally oversaw the construction of Sigismund Fortress, which strengthened the eastern part of the stronghold. Intensively collected supplies of food and ammunition, and developed a business intelligence gathering valuable information about Moscow's war preparations. In the spring of 1632, he made review the fortifications in Dorogobuzh and other frontier forts. During the war with Russia, in the year 1632 and 1634 after a particularly famous defense of Smolensk - for ten months he defended the city against besieging forces led by Mikhail Shein, repelling all assaults, until the advent of the battle led by Prince Wadysaw. He fought at Vitebsk, Alder and Mstislav. He participated as a Commissioner in peace negotiations, topped the conclusion on 14 June 1634, in Treaty of Polanow. For his services, he received numerous goods in the province of Smolensk. He founded the Jesuits' College in Vitebsk and the female Monastery of the Holy Brigit at Brest-Litovsk.As Palatine-Governor, he commemorated the death of his longtime client - Jan Kunowski, who in 1640 wrote a series of poems dedicated to his late patron.

Question: How many cities was the Swedish army defeated in?

Input: On 2 October 1187 the Ayyubid sultan Saladin captured Jerusalem and large parts of the Crusader states. In an effort to reclaim the Outremer estates, the Third Crusade was launched by King Philip II of France, King Richard I of England, and Emperor Frederick I of the Holy Roman Empire in 1189. Frederick departed with a huge army, defeated a Seljuk contingent near Philomelion and captured Iconium, but then drowned in the Goksu River near Silifke in Cilicia. Upon his death, Frederick's German crusading host, totaling perhaps 12,000 to 15,000 men, mostly disbanded and a much smaller contingent led by Frederick's son Duke Frederick V of Swabia continued to the Holy Land, where they joined the Siege of Acre. The crusade ended in the 1192 Treaty of Ramla signed by Sultan Saladin and King Richard Coeur de Lion, establishing a three-years armistice and allowing the Muslims to retain control over Jerusalem, while the Crusaders maintained Acre, Jaffa, and other key coastal cities.

Question: What was the name of Duke Frederick V's father?

Input: The Lions went home for a Week 12 duel with another NFC South team, the Tampa Bay Buccaneers. In the first quarter, Detroit struck first as QB Daunte Culpepper completed a 15-yard TD pass to WR Calvin Johnson. The Lions continued their early success as safety Daniel Bullocks returned a fumble 44 yards for a touchdown, while kicker Jason Hanson got a 38-yard field goal. Although the 17-0 early advantage was the largest lead the Lions would obtain all year, it didn't even last until halftime. In the second quarter, the Buccaneers' RB Warrick Dunn got a 13-yard TD run, while QB Jeff Garcia completed a 36-yard TD pass to WR Ike Hilliard and a 24-yard TD pass to TE Jerramy Stevens. In the third quarter, Tampa Bay added onto their lead as RB Clifton Smith returned a punt 70 yards for a touchdown, along with CB Ronde Barber returning an interception 65 yards for a touchdown. Detroit scored when Hanson got a 40-yard field goal. In the fourth quarter, only the Buccaneers scored when kicker Matt Bryant nailed a 48-yard field goal.

Question:
Which player caught a pass for the first score?