Treaty of Madrid (1801)

[2] Portugal also agreed to close its ports to British shipping, pay an indemnity of 20 million francs and allow the import of French woollen goods.

Napoleon refused to ratify the Treaty of Badajoz, claiming his Foreign Minister Talleyrand who agreed the terms and his younger brother Lucien Bonaparte, who signed it had both been bribed by the Portuguese.

[b][3] At the time, European settlement in much of South America was restricted to coastal areas, making access to waterways vital; Portuguese Bandeirantes had used the rivers to expand into the interior, discovering both gold and diamonds.

The Treaty of Amiens re-opened Portuguese ports to Britain and moved the border with French Guiana back to the Araguari River, as previously agreed.

In one of the ironies of history, by 1825 the vast majority of Spanish and Portuguese colonies in South America had gained their independence while French Guiana remains part of France.

Lucien Bonaparte (1775–1840), the French signatory
Cipriano Ribeiro Freire (1749–1824), the Portuguese signatory
The Portuguese royal family leaves for Brazil, 1807