paragraph_text: There were several other kingdoms which ruled over parts of India in the later medieval period prior to the British occupation. However, most of them were bound to pay regular tribute to the Marathas. The rule of Wodeyar dynasty which established the Kingdom of Mysore in southern India in around 1400 CE by was interrupted by Hyder Ali and his son Tipu Sultan in the later half of the 18th century. Under their rule, Mysore fought a series of wars sometimes against the combined forces of the British and Marathas, but mostly against the British, with Mysore receiving some aid or promise of aid from the French.

paragraph_text: The Portuguese language is derived from the Latin spoken by the romanized Pre-Roman peoples of the Iberian Peninsula around 2000 years ago—particularly the Celts, Tartessians, Lusitanians and Iberians. In the 15th and 16th centuries, the language spread worldwide as Portugal established a colonial and commercial empire between 1415 and 1999. Portuguese is now spoken as a native language in five different continents, with Brazil accounting for the largest number of native Portuguese speakers of any country (200 million speakers in 2012).

paragraph_text: The Battle of Seminara, part of the First Italian War, was fought in Calabria on 28 June 1495 between a French garrison in recently conquered Southern Italy and the allied forces of Spain and Naples which were attempting to reconquer these territories. Against the redoubtable combination of gendarmes and Swiss mercenary pikemen in the French force, the allies had only Neapolitan troops of indifferent quality and a small corps of lightly-armed Spanish soldiers, accustomed to fighting the Moors of Spain. The result was a rout, and much of the fighting centered on delaying actions to permit the fleeing allied force to escape. However, although the battle was a decisive French victory from a tactical perspective, it did not prevent the allies from driving the French from southern Italy.

paragraph_text: Fighting on one side was a coalition of forces including the Republic of Vietnam (South Vietnam or the "RVN"), the United States, supplemented by South Korea, Thailand, Australia, New Zealand, and the Philippines. The allies fought against the North Vietnamese Army (NVA) as well as the National Liberation Front (NLF, also known as Viet communists Viet Cong), or "VC", a guerrilla force within South Vietnam. The NVA received substantial military and economic aid from the Soviet Union and China, turning Vietnam into a proxy war.

paragraph_text: Catalan shares many traits with its neighboring Romance languages. However, despite being mostly situated in the Iberian Peninsula, Catalan differs more from Iberian Romance (such as Spanish and Portuguese) in terms of vocabulary, pronunciation, and grammar than from Gallo-Romance (Occitan, French, Gallo-Italic languages, etc.). These similarities are most notable with Occitan.

paragraph_text: The war against Germany involved aid to Britain, her allies, and the Soviet Union, with the U.S. supplying munitions until it could ready an invasion force. U.S. forces were first tested to a limited degree in the North African Campaign and then employed more significantly with British Forces in Italy in 1943 -- 45, where U.S. forces, representing about a third of the Allied forces deployed, bogged down after Italy surrendered and the Germans took over. Finally the main invasion of France took place in June 1944, under General Dwight D. Eisenhower. Meanwhile, the U.S. Army Air Forces and the British Royal Air Force engaged in the area bombardment of German cities and systematically targeted German transportation links and synthetic oil plants, as it knocked out what was left of the Luftwaffe post Battle of Britain in 1944. With the Soviets unstoppable in the east, and the Allies unstoppable in the west, Germany was squeezed to death. Berlin fell to the Soviets in May 1945, and with Adolf Hitler dead, the Germans surrendered.

paragraph_text: Frustrated by the wasted effort, and with demands for action from their citizens, the allied force decided to attack the center of Russian strength in the Black Sea at Sevastopol on the Crimean peninsula. After extended preparations, the forces landed on the peninsula in September 1854 and fought their way to a point south of Sevastopol after a series of successful battles. The Russians counterattacked on 25 October in what became the Battle of Balaclava and were repulsed, but at the cost of seriously depleting the British Army forces. A second counterattack, ordered personally by Nicholas, was defeated by Omar Pasha. The front settled into a siege and led to horrible conditions for troops on both sides. Smaller actions were carried out in the Baltic, the Caucasus, the White Sea and in the North Pacific.

paragraph_text: The Battle of Wilhelmsthal (sometimes written as the Battle of Wilhelmstadt) was fought on 24 June 1762 during the Seven Years' War between on one side the allied forces of British, Prussian, Hanover, Brunswick and Hessian troops under the command of the Duke of Brunswick against the French. Once again, the French threatened Hanover, so the Allies manoeuvered around the French, surrounded the invasion force, and forced them to retreat. It was the last major action fought by Brunswick's force before the Peace of Paris brought an end to the war.

paragraph_text: Portugal -- Spain relations describes relations between the governments of the Portuguese Republic and the Kingdom of Spain. The two states make up the vast majority of the Iberian Peninsula and as such, the relationship between the two is sometimes known as Iberian relations.

paragraph_text: In the early 5th century, the deep crisis suffered by the Roman Empire allowed different tribes of Central Europe (Suebi, Vandals and Alani) to cross the Rhine and penetrate into the rule on 31 December 406. Its progress towards the Iberian Peninsula forced the Roman authorities to establish a treaty (foedus) by which the Suebi would settle peacefully and govern Galicia as imperial allies. So, from 409 Galicia was taken by the Suebi, forming the first medieval kingdom to be created in Europe, in 411, even before the fall of the Roman Empire, being also the first Germanic kingdom to mint coinage in Roman lands. During this period a Briton colony and bishopric (see Mailoc) was established in Northern Galicia (Britonia), probably as foederati and allies of the Suebi. In 585, the Visigothic King Leovigild invaded the Suebic kingdom of Galicia and defeated it, bringing it under Visigoth control.

paragraph_text: The Battle of Villers-Bocage took place during the Second World War on 13 June 1944, one week after the Normandy Landings by the Western Allies that began the conquest of German-occupied France. The battle was the result of a British attempt to improve their position by exploiting a gap in the German defences west of the city of Caen. After one day of fighting in and around the small town of Villers-Bocage and a second day defending a position outside the town, the British force retired.

paragraph_text: The British Prime Minister, the Duke of Newcastle, was optimistic that the new series of alliances could prevent war from breaking out in Europe. However, a large French force was assembled at Toulon, and the French opened the campaign against the British by an attack on Minorca in the Mediterranean. A British attempt at relief was foiled at the Battle of Minorca, and the island was captured on 28 June (for which Admiral Byng was court-martialed and executed). War between Britain and France had been formally declared on 18 May nearly two years after fighting had broken out in the Ohio Country.

paragraph_text: Britain had been surprised by the sudden Prussian offensive but now began shipping supplies and ₤670,000 (equivalent to ₤89.9 million in 2015) to its new ally. A combined force of allied German states was organised by the British to protect Hanover from French invasion, under the command of the Duke of Cumberland. The British attempted to persuade the Dutch Republic to join the alliance, but the request was rejected, as the Dutch wished to remain fully neutral. Despite the huge disparity in numbers, the year had been successful for the Prussian-led forces on the continent, in contrast to disappointing British campaigns in North America.

paragraph_text: After the disastrous 1757 British campaigns (resulting in a failed expedition against Louisbourg and the Siege of Fort William Henry, which was followed by Indian torture and massacres of British victims), the British government fell. William Pitt came to power and significantly increased British military resources in the colonies at a time when France was unwilling to risk large convoys to aid the limited forces it had in New France. France concentrated its forces against Prussia and its allies in the European theatre of the war. Between 1758 and 1760, the British military launched a campaign to capture the Colony of Canada. They succeeded in capturing territory in surrounding colonies and ultimately Quebec. Though the British were later defeated at Sainte Foy in Quebec, the French ceded Canada in accordance with the 1763 treaty.

paragraph_text: Napoleon would end up leaving Iberia in order to deal with the Austrians in Central Europe, but the Peninsular War continued on long after his absence. He never returned to Spain after the 1808 campaign. Several months after Corunna, the British sent another army to the peninsula under the future Duke of Wellington. The war then settled into a complex and asymmetric strategic deadlock where all sides struggled to gain the upper hand. The highlight of the conflict became the brutal guerrilla warfare that engulfed much of the Spanish countryside. Both sides committed the worst atrocities of the Napoleonic Wars during this phase of the conflict. The vicious guerrilla fighting in Spain, largely absent from the French campaigns in Central Europe, severely disrupted the French lines of supply and communication. Although France maintained roughly 300,000 troops in Iberia during the Peninsular War, the vast majority were tied down to garrison duty and to intelligence operations. The French were never able to concentrate all of their forces effectively, prolonging the war until events elsewhere in Europe finally turned the tide in favor of the Allies. After the invasion of Russia in 1812, the number of French troops in Spain vastly declined as Napoleon needed reinforcements to conserve his strategic position in Europe. By 1814, after scores of battles and sieges throughout Iberia, the Allies had managed to push the French out of the peninsula.

paragraph_text: This was the final conflict of the four Anglo -- Mysore Wars. The British captured the capital of Mysore. The ruler Tipu Sultan was killed in the battle. Britain took indirect control of Mysore, restoring the Wodeyar Dynasty to the Mysore throne (with a British commissioner to advise him on all issues). Tipu Sultan's young heir, Fateh Ali, was sent into exile. The Kingdom of Mysore became a princely state in a subsidiary alliance with British India and ceded Coimbatore, Dakshina Kannada and Uttara Kannada to the British.

paragraph_text: After the capitulation of Axis forces in North Africa, Eisenhower oversaw the highly successful invasion of Sicily. Once Mussolini, the Italian leader, had fallen in Italy, the Allies switched their attention to the mainland with Operation Avalanche. But while Eisenhower argued with President Roosevelt and British Prime Minister Churchill, who both insisted on unconditional terms of surrender in exchange for helping the Italians, the Germans pursued an aggressive buildup of forces in the country – making the job more difficult, by adding 19 divisions and initially outnumbering the Allied forces 2 to 1; nevertheless, the invasion of Italy was highly successful.

paragraph_text: The surrender of Imperial Japan was announced on August 15 and formally signed on September 2, 1945, bringing the hostilities of World War II to a close. By the end of July 1945, the Imperial Japanese Navy (IJN) was incapable of conducting major operations and an Allied invasion of Japan was imminent. Together with the British Empire and China, the United States called for the unconditional surrender of the Japanese armed forces in the Potsdam Declaration on July 26, 1945 -- the alternative being ``prompt and utter destruction ''. While publicly stating their intent to fight on to the bitter end, Japan's leaders (the Supreme Council for the Direction of the War, also known as the`` Big Six'') were privately making entreaties to the still - neutral Soviet Union to mediate peace on terms more favorable to the Japanese. Meanwhile, the Soviets were preparing to attack Japanese forces in Manchuria and Korea (in addition to South Sakhalin and the Kuril Islands) in fulfillment of promises they had secretly made to the United States and the United Kingdom at the Tehran and Yalta Conferences.

paragraph_text: Minor naval skirmishes also occurred in the Far East, where at Petropavlovsk on the Kamchatka Peninsula a British and French Allied squadron including HMS Pique under Rear Admiral David Price and a French force under Counter-Admiral Auguste Febvrier Despointes besieged a smaller Russian force under Rear Admiral Yevfimy Putyatin. In September 1854, an Allied landing force was beaten back with heavy casualties, and the Allies withdrew. The Russians escaped under the cover of snow in early 1855 after Allied reinforcements arrived in the region.

paragraph_text: After the Partisans managed to endure and avoid these intense Axis attacks between January and June 1943, and the extent of Chetnik collaboration became evident, Allied leaders switched their support from Draža Mihailović to Tito. King Peter II, American President Franklin Roosevelt and British Prime Minister Winston Churchill joined Soviet Premier Joseph Stalin in officially recognising Tito and the Partisans at the Tehran Conference. This resulted in Allied aid being parachuted behind Axis lines to assist the Partisans. On 17 June 1944 on the Dalmatian island of Vis, the Treaty of Vis (Viški sporazum) was signed in an attempt to merge Tito's government (the AVNOJ) with the government in exile of King Peter II. The Balkan Air Force was formed in June 1944 to control operations that were mainly aimed at aiding his forces.

Question: By what year did the Allies force the country that promised aid to Mysore to fight the British out of the Iberian peninsula?
Answer: 1814