Input: The Red Army invasion of Georgia , also known as the Soviet-Georgian War or the Soviet invasion of Georgia, was a military campaign by the Soviet Russian Red Army aimed at overthrowing the Social-Democratic government of the Democratic Republic of Georgia and installing a Bolshevik regime in the country. The conflict was a result of expansionist policy by the Soviets, who aimed to control as much as possible of the lands which had been part of the former Russian Empire until the turbulent events of the First World War, as well as the revolutionary efforts of mostly Russian-based Georgian Bolsheviks, who did not have sufficient support in their native country to seize power without external intervention. The independence of Georgia had been recognized by Soviet Russia in the Treaty of Moscow, signed on 7 May 1920, and the subsequent invasion of the country was not universally agreed upon in Moscow. It was largely engineered by two influential Georgian-born Soviet Russian officials, Joseph Stalin and Sergo Ordzhonikidze, who on 14 February 1921 got the consent of Soviet leader Vladimir Lenin to advance into Georgia, on the pretext of supporting "peasants and workers rebellion" in the country. Soviet forces took the Georgian capital Tbilisi after heavy fighting and declared the Georgian Soviet Socialist Republic on 25 February 1921. The rest of the country was overrun within three weeks, but it was not until September 1924 that Soviet rule was firmly established. Almost simultaneous occupation of a large portion of southwest Georgia by Turkey threatened to develop into a crisis between Moscow and Ankara, and led to significant territorial concessions by the Soviets to the Turkish National Government in the Treaty of Kars.

Question: How many years after Soviet forces declared the Georgian Soviet Socialist Republic did the Soviet rule become firmly established?

Input: After the defeat at Marignano, the League no longer possessed the ability or the will to continue the war. Francis advanced on Milan, capturing the city on 4 October and removing Sforza from the throne. In December, he met with Leo at Bologna; the pope, who had in the meantime been deserted by the remainder of his Swiss mercenaries, surrendered Parma and Piacenza to Francis and Modena to the Duke of Ferrara. In return, Leo received guarantees of French noninterference in his proposed attack on the Duchy of Urbino. Finally, the Treaty of Noyon, signed by Francis and Charles V in August 1516, recognized French claims to Milan and Spanish claims to Naples, removing Spain from the war. Maximilian held out, making another attempt to invade Lombardy; his army failed to reach Milan before turning back, and by December 1516, he had entered into negotiations with Francis. The resulting Treaty of Brussels not only accepted French occupation of Milan, but also confirmed Venetian claims to the remainder of the Imperial possessions in Lombardy , effectively ending the war with a return to the status quo of 1508. The peace, however, would last only four years; the election of Charles V as Holy Roman Emperor in 1519 caused Francis, who had desired the position for himself, to begin the Italian War of 1521-26. The Italian Wars, thus reignited, would then continue until 1530 without significant interruption.

Question: How many wars was Francis involved in?

Input: The Conquest of Melilla occurred in September 1497, when a fleet sent by the Duke of Medina Sidonia seized the north African city of Melilla., as continuation of Reconquest of Mauritania Tingitana During the 15th century the mediterranean cities of the Sultanate of Fez fell in decadence in opposition to cities located in the Atlantic facade, which concentrated most of the economic activity. By the end of the 15th century, the port of Melilla, that had been often disputed between the rulers of Fez and Tlemcen, was nearly abandoned. Plans for the conquest occurred as soon as the Fall of Granada in 1492. Spanish captains Lezcano and Lorenzo Zafra visited the coast of Northern Africa to identify possible locations for the Spanish to overtake, and Melilla was identified as a prime candidate. Melilla was, however, in the Portuguese zone of influence under the terms of the 1479 Treaty of Alcacovaz. At Tordesillas in 1494, King John II of Portugal, the Portuguese ruler agreed to make an exception and permitted the Spanish to attempt the conquest of Melilla. The duke sent Pedro Estopinan who conquered the city virtually without a fight in 1497, as internal conflicts had depleted it of troops, and its defenses were weakened. The Wattasid ruler Muhammad al-Shaykh sent a detachment of cavalrymen to retake control of the city, but they were repulsed by the guns of the Spanish ships.

Question: What happened first, the Treaty of Alcacovaz or The Conquest of Melilla?

Input: After a tough home loss to the Texans, the Raiders traveled east to take on the Patriots. The Raiders took an early lead when Sebastian Janikowski kicked a 49-yard field goal for a 3-0 game and the only score of the first quarter. The Patriots took the lead in the 2nd quarter when Tom Brady found Rob Gronkowski on a 6-yard touchdown pass for a 7-3 game followed up by Stephen Gostowski kicking a 21-yard field goal for a 10-3 lead at halftime. In the 3rd quarter, the Raiders went back to work as Janikowski nailed 2 field goals from 37 and 47 yards out coming within 4, 10-6 and then within 1, 10-9. However, in the 4th quarter, the Patriots were able to eventually win the game when Gostkowski kicked 2 field goals from 20 and 36 yards out first for a 13-9 and the eventual final score of 16-9. The Raiders were held without a touchdown in a single game for the first time since their 17-6 loss to the Panthers in 2012.

Question:
how many yards did Janikowski nail in the third?