Maria I of Portugal forced Portugal to cede Olivença and other border towns to Spain. (This cession is not recognized by the present Portuguese government, and the country officially considers those territories still to be Portuguese possessions.) On September 29, 1801 John VI signed the Treaty of Madrid (1801), ceding half of Guyana to France, which became French Guiana. The refusal of the Portuguese government to join the French-sponsored Continental Blockade against Britain culminated in the late 1807 Franco-Spanish invasion of Portugal led by General Junot. The ultimate Napoleonic plan for Portugal was to split it into three sections. The northern parts of Portugal,
Border of Granada other municipalities in the Huelva province, which include ""de la Frontera"" in their names. However, these do not refer to the Border of Granada border, but to the border with Portugal. This is the case with Rosal de la Frontera and Palos de la Frontera. The first frontier was defined by the Pact of Jaén in 1246 between Muhammad I "ibn al-Ahmar", first king of Granada, and King Fernando III 'El Santo', following extensive conquests by the latter in the valley of the Guadalquivir. The border then went through modifications during the reigns of Sancho IV, Fernando IV and Alfonso