Input: The Portuguese Restoration War  was the name given by nineteenth-century Romantic historians to the war between Portugal and Spain that began with the Portuguese revolution of 1640 and ended with the Treaty of Lisbon in 1668. The revolution of 1640 ended the 60-year Iberian Union. The period from 1640 to 1668 was marked by periodic skirmishes between Portugal and Spain, as well as short episodes of more serious warfare, much of it occasioned by Spanish and Portuguese entanglements with non-Iberian powers. Spain was involved in the Thirty Years' War until 1648 and the Franco-Spanish War until 1659, while Portugal was involved in the Dutch-Portuguese War until 1663. In the seventeenth century and afterwards, this period of sporadic conflict was simply known, in Portugal and elsewhere, as the Acclamation War. The war established the House of Braganza as Portugal's new ruling dynasty, replacing the House of Habsburg. This ended the so-called Iberian Union.

Question: What war did Spain stop being involved with second: Thirty Years' War or Franco-Spanish War?


Input: Coming off their dominant win over the 49ers, the Broncos remained on home ground for an AFC West duel against the San Diego Chargers on Thursday Night Football. After a scoreless first quarter, a 2-yard touchdown pass from quarterback Peyton Manning to wide receiver Emmanuel Sanders gave the Broncos the lead early in the second quarter. After the two teams traded punts on their next possessions, the Chargers tied the game with a time-consuming drive, culminating with 2-yard touchdown pass from quarterback Philip Rivers to wide receiver Keenan Allen. On the ensuing kickoff, Chargers' linebacker Kavell Conner forced a fumble off Broncos' return specialist Andre Caldwell, and it was recovered by Chargers' tight end Ladarius Green deep in Broncos' territory. However, it was overturned after an instant replay review. The Broncos then re-claimed the lead just before halftime, with another touchdown pass from Manning to Sanders &#8212; from 31 yards out. On the Chargers' opening possession of the second half, Rivers was intercepted by Broncos' cornerback Chris Harris, Jr., and six plays later, the Broncos added to their lead, with Manning throwing his third touchdown pass to Sanders &#8212; from 3 yards out. After the Broncos' defense forced a Chargers' punt, the Broncos increased their lead to 28-7 midway through the third quarter, with running back Juwan Thompson rushing for a 2-yard touchdown. The Chargers responded on their next possession, with a 4-yard touchdown pass from Rivers to tight end Antonio Gates on 4th-and-goal. The Broncos countered early in the fourth quarter, with Thompson rushing for a 1-yard touchdown. The drive was kept alive by a defensive holding penalty on Chargers' safety Marcus Gilchrist that negated an Eric Weddle interception of Manning near the goal line. The Chargers once again had a response, with another touchdown pass from Rivers to Gates &#8212; from 10 yards out. The Broncos tried to add to their lead on their next possession, however, placekicker Brandon McManus missed on a 53-yard field goal attempt. The Chargers attempted a rally, but Rivers was intercepted by Broncos' safety Rahim Moore near the goal line with five minutes remaining in the game. The Broncos' offense then ran out most of the clock, aided by a crucial 5-yard pass completion from Manning to wide receiver Wes Welker on 3rd-and-4 from their own 10-yard line that forced the Chargers to burn the last two of their three team timeouts, sealing the win for the Broncos.

Question: How many yards was the shortest TD?


Input: Trying to snap a nine-game losing streak, the Bengals flew to Heinz Field for a Week 14 AFC North rematch with the Pittsburgh Steelers. In the first quarter, Cincinnati delivered the game's opening strike in the first quarter as quarterback Carson Palmer found offensive tackle Andrew Whitworth on a 1-yard touchdown pass.  In the second quarter, the Steelers answered with safety Troy Polamalu returning an interception 45 yards for a touchdown; followed by kicker Shaun Suisham nailing a 23-yard field goal. In the third quarter, Pittsburgh added onto their lead with Suisham getting a 35-yard field goal. In the fourth quarter, the Steelers pulled away with linebacker LaMarr Woodley returning an interception 14 yards for a touchdown, followed by Suisham making a 41-yard field goal.

Question: How many more yards of running touchdowns were there compared to passing?


Input: Bolshevik-led attempts to gain power in other parts of the Russian Empire were largely successful in Russia proper — although the fighting in Moscow lasted for two weeks — but they were less successful in ethnically non-Russian parts of the Empire, which had been clamoring for independence since the February Revolution. For example, the Ukrainian Rada, which had declared autonomy on 23 June 1917, created the Ukrainian People's Republic on 20 November, which was supported by the Ukrainian Congress of Soviets. This led to an armed conflict with the Bolshevik government in Petrograd and, eventually, a Ukrainian declaration of independence from Russia on 25 January 1918. In Estonia, two rival governments emerged: the Estonian Provincial Assembly, established in April 1917, proclaimed itself the supreme legal authority of Estonia on 28 November 1917 and issued the Declaration of Independence on 24 February 1918. Soviet Russia recognized the Executive Committee of the Soviets of Estonia as the legal authority in the province, although the Soviets in Estonia controlled only the capital and a few other major towns.The success of the October Revolution transformed the Russian state into a soviet republic. A coalition of anti-Bolshevik groups attempted to unseat the new government in the Russian Civil War from 1918 to 1922. In an attempt to intervene in the civil war after the Bolsheviks' separate peace with the Central Powers, the Allied powers  occupied parts of the Soviet Union for over two years before finally withdrawing. The United States did not recognize the new Russian government until 1933. The European powers recognized the Soviet Union in the early 1920s and began to engage in business with it after the New Economic Policy  was implemented.

Question:
How many months after the Estonian Provincial Assembly was established did they issue the Declaration of Independence?