On 27 October 1807, France and Spain signed the Treaty of Fontainebleau which would partition Portugal. In this pact, Northern Lusitania, a territory between the Minho and Douro rivers, would be a principality governed by the sovereign of the extinct Kingdom of Etruria (then Maria Luisa, daughter of Charles IV of Spain). The Algarve and all Portuguese territory located south of the Tagus would be governed by Manuel de Godoy, in compensation for his role in bringing the Spanish to align with France. The rest of Portugal, the area between the Douro and the Tagus, a strategic region because of its ports, would be administered by the central government in France until a general peace. Its colonial possessions, including Brazil, would be divided between Spain and France.