Treaty of Madrid
The 1801 Treaty of Madrid was signed on 29 September 1801 by Portugal and France. Portugal made territorial concessions to France in Northern Brazil, closed its ports to British shipping and paid an indemnity of 20 million francs.