P: After the War of the Spanish Succession in the early 18th century, possession of the kingdom again changed hands. Under the terms of the Treaty of Rastatt in 1714, Naples was given to Charles VI, the Holy Roman Emperor. He also gained control of Sicily in 1720, but Austrian rule did not last long. Both Naples and Sicily were conquered by a Spanish army during the War of the Polish Succession in 1734, and Charles, Duke of Parma, a younger son of King Philip V of Spain was installed as King of Naples and Sicily from 1735. When Charles inherited the Spanish throne from his older half-brother in 1759, he left Naples and Sicily to his younger son, Ferdinand IV. Despite the two Kingdoms being in a personal union under the Habsburg and Bourbon dynasts, they remained constitutionally separate. Being a member of the House of Bourbon, Ferdinand IV was a natural opponent of the French Revolution and Napoleon. In 1798, he briefly occupied Rome, but was expelled from it by French Revolutionary forces within the year. Soon afterwards Ferdinand fled to Sicily. In January 1799 the French armies installed a Parthenopaean Republic, but this proved short-lived, and a peasant counter-revolution inspired by the clergy allowed Ferdinand to return to his capital. However, in 1801 Ferdinand was compelled to make important concessions to the French by the Treaty of Florence, which reinforced France's position as the dominant power in mainland Italy.
Answer this: Which event happened first, the Treaty of Rastatt where Naples was given to Charles VI or when he gained control of Sicily?

A: 1714, Naples was given

P: 60 Razvedupr officers were dispatched to Tallinn in the spring of 1924 to organise an uprising. The plan for was hatched by Jaan Anvelt and Karl Rimm. The latter was a veteran of the Russian Civil War. The plan envisaged the main attack aimed at Tallinn, with subsequent coups in Tartu, Narva, Parnu, Viljandi, Rakvere, Kunda, and Kohila. The revolt was supposed to start at 5:15 a.m. The 279 communists, mostly infiltrated from the Soviet Union, were armed with 5 Thompson light machine guns, 55 rifles, 65 hand grenades, 8 explosive devices and 150 pistols. It was mistakenly expected that the workers and soldiers would join the insurgency and would seize power in the capital together. The plan called for the establishment of an Estonian Soviet Socialist Republic and of a "working people's government". Most of the schemes were spoiled by the Trial of the 149 in November 1924, which eliminated many potential communist organisers. The gunmen's first priority was to take over the Estonian National Defence College based in the Tondi suburb south of the city centre, the main narrow gauge railway station in Tallinn-Vaike, and a battalion of engineering troops in Nomme.
Answer this: How many less Thompson light machine guns did the communists have than explosice devices?

A: 3

P: John, the eldest son of King Manuel I to his second wife Maria of Aragon, was born in Lisbon on 7 June 1502. The event was marked by the presentation of Gil Vicente's Visitation Play or the Monologue of the Cowherd in the queen's chamber. The young prince was sworn heir to the throne in 1503, the year his youngest sister, Isabella of Portugal, Empress Consort of the Holy Roman Empire between 1527 and 1538, was born. John was educated by notable scholars of the time, including the astrologer Tomas de Torres, Diogo de Ortiz, Bishop of Viseu, and Luis Teixeira Lobo, one of the first Portuguese Renaissance humanists, rector of the University of Siena and Professor of Law at Ferrara . John's chronicler Antonio de Castilho said that, "Dom Joao III faced problems easily, complementing his lack of culture with a practice formation that he always showed during his reign" . In 1514, he was given his own house, and a few years later began to help his father in administrative duties. At the age of sixteen, John was chosen to marry his first cousin, the 20-year-old Eleanor of Austria, eldest daughter of Philip the Handsome of Austria-Burgundy and Queen Joanna of Castile, but instead she married his widowed father Manuel. John took deep offence at this: his chroniclers say he became melancholic and was never quite the same. Some historians also claim this was one of the main reasons that John later became fervently religious, giving him name the Pious .
Answer this: How many years after John was sworn in did he marry?

A:
15