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,
Portugal in the Middle Ages privileges and favours given to the Roman Catholic Church were compensated. In the papal bull " Manifestis Probatum", Pope Alexander III acknowledged Afonso as King and Portugal as an independent land with the right to conquer lands from the Moors. With this papal blessing, Portugal was at last secured as a country and safe from any Leonese attempts at annexation. In 1184, in spite of his great age, King Afonso of Portugal still had sufficient energy to relieve his son Sancho, who was besieged in Santarém by the Moors. He died shortly after, on December 6, 1185. Afonso had already