Culture of Spain medieval times, a single language which linguists call Galician-Portuguese, Medieval Galician, or Old Portuguese, spoken in the territories initially ruled by the medieval Kingdom of Galicia. Both languages are even today united by a dialect continuum located mainly in the northern regions of Portugal. Aranese () is a standardized form of the Pyrenean Gascon variety of the Occitan language spoken in the Val d'Aran, in north western Catalonia on the border between Spain and France, where it is one of the three official languages besides Catalan and Spanish. Other languages of Spain: About 68% of Spaniards identify as belonging to
John VI of Portugal too powerful for France to attack directly, France set its sights on Portugal. In 1799, John officially assumed the reins of government as prince regent in the name of his widowed mother; that same year, Napoleon Bonaparte staged his "coup d'état" of 18 Brumaire in France and coerced Spain into issuing an ultimatum to force the Portuguese to break with Great Britain and submit the country to the interests of Napoleon. With John's refusal, neutrality became unviable. Spain and France invaded in 1801, setting off the War of the Oranges; a defeated Portugal signed the Treaty of Badajoz and the