question: 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.
Answer this question: How many years did the Golden Horde attack attack Poland?
answer: 1

question: The Mavericks finished 4933, one game ahead of Phoenix for the eighth and final playoff spot, which meant that they would once again have to face their in-state rivals, the San Antonio Spurs, who were the top seed in the Western Conference with a 6220 record. In Game 1 in San Antonio, Dallas had an 8171 lead in the fourth quarter, but the Spurs rallied back and took Game 1, 85-90. However, the Mavs forced 22 turnovers in Game 2 to rout the Spurs 11392, splitting the first two games before the series went to Dallas. In Game 3, Manu Ginobili hit a shot that put the Spurs up 108106 with 1.7 seconds left, but a buzzer-beater by Vince Carter gave the Mavs the victory, putting them up 21 in the series. The Spurs took Game 4 in Dallas 9389 despite a late Dallas comeback after the Spurs at one point had a 20-point lead and later won Game 5 at home, 109103, giving them a 32 series lead. The Mavs avoided elimination in Game 6 at home by rallying in the fourth quarter, winning 111113. Game 7 was on the Spurs home court, and the Spurs beat the Mavericks 11996, putting an end to the Mavericks season.
Answer this question: How many points did the Mavericks win Game 2 by against the Spurs?
answer: 21

question: In Spring 1922, Poeymirau and Freydenberg launched attacks into the headwaters of the Moulouya in the western Middle Atlas and managed to defeat Said, the last surviving member of the Berber triumvirate, at El Ksiba in April 1922. Said was forced to flee, with much of the Ait Ichkern tribe, to the highest mountains of the Middle Atlas and then into the High Atlas. Lyautey then secured the submission of several more tribes, constructed new military posts and improved his supply roads; by June 1922, he had brought the entire Moulouya Valley under control and pacified much of the Middle Atlas. Limited in numbers by rapid post-war demobilisation and commitments to garrisons in Germany, he determined not to march through the difficult terrain of the High Atlas but to wait for the tribes to tire of the guerrilla war and submit. Said never did so, dying in action against a groupe mobile in March 1924, though his followers continued to cause problems for the French into the next decade. Pacification of the remaining tribal areas in French Morocco was completed in 1934, though small armed gangs of bandits continued to attack French troops in the mountains until 1936. Moroccan opposition to French rule continued, a plan for reform and return to indirect rule was published by the nationalist Comite d'Action Marocaine in 1934, with significant riots and demonstrations occurring in 1934, 1937, 1944 and 1951. France, having failed to quell the nationalists by deposing the popular Sultan Mohammed V and already fighting a bloody war of independence in Algeria, recognised Moroccan independence in 1956.
Answer this question: Which two events occurred in 1394?
answer:
Pacification