The Iberian Peninsula is dominated by the Meseta upland area and surrounded by mountain ranges, containing the countries of Spain, Portugal, and Andorra. Portugal established itself as an independent kingdom in 1143 and was a pioneer in global exploration between the 15th-16th centuries. Spain's capital is Madrid and it shares the Pyrenees Mountains border with France to the north. The tiny nation of Andorra is situated in the mountainous regions between France and Spain. Gibraltar, located at the western entrance to the Mediterranean Sea, was ceded to Britain in 1713 and declared a British colony in 1830.