The Treaty of Aranjuez (1801) was signed on 21 March 1801 between France and Spain. It confirmed a previous secret agreement in which Spain agreed to exchange Louisiana for territories in Tuscany. The treaty also stipulated Spain's cession of Louisiana to be a "restoration", not a retrocession.
Napoleon wanted Louisiana as the hub of a new French empire in North America, to replace that lost after the 1763 Treaty of Paris. While Spanish chief minister Manuel Godoy was happy to transfer the territory, he demanded six French ships of the line and compensation in Italy to make it politically acceptable to Charles IV of Spain.

Terms were agreed in the October 1800 Third Treaty of San Ildefonso but kept secret, as French Foreign Minister Talleyrand was negotiating the Convention of 1800 with the United States, which was deeply concerned by French ambitions in North America. He was also proposing to compensate Spain with territories France did not yet control. This was achieved by the February 1801 Treaty of Lunéville agreed with Austria, and the Treaty of Florence signed with the Kingdom of Naples on 28 March 1801.

Talleyrand used the treaties to create the Kingdom of Etruria for Charles IV's son-in-law Louis I, and in return Spain announced the transfer of Louisiana. However, these arrangements proved short-lived; France sold Louisiana to the US in 1803, while Etruria was dissolved in 1807.

Background
The Treaty of Aranjuez was public confirmation of the October 1800 secret Third Treaty of San Ildefonso, one of a series of agreements negotiated by French Foreign Minister Talleyrand; another was the September Convention of 1800, ending the Quasi-War with the United States. Central to this was the transfer of Spain's Louisiana territory to France, and the creation of a new French empire in North America, to replace that lost in 1763.
After the November 1799 Coup of 18 Brumaire, the new government of First Consul Napoleon and his deputy Talleyrand made colonial expansion a key policy. The coup was partially financed by wealthy merchants, who wanted to re-establish control of sugar-producing islands in the Caribbean. These were extremely profitable; prior to the abolition of slavery in 1793, the French colony of Saint-Domingue produced more sugar and coffee than all the British West Indies combined.
For Napoleon, Louisiana was to serve as the hub of this new empire, as well as a source of food and slaves for French plantations in the West Indies. A recent addition to the immense Spanish Empire in the Americas, possession brought Spain into conflict with the United States, whose western expansion required access to the Mississippi River and the port of New Orleans. American settlers had been moving into this area for decades, despite diplomatic efforts to manage it, such as the 1795 Pinckney's Treaty. By 1800, nearly 400,000 or 7.3% of Americans lived in trans-Appalachian territories, including the new states of Kentucky and Tennessee.
At the same time, Spain's alliance with France and the resulting 1798-1802 Anglo-Spanish War led to a British naval blockade that severely impacted their economy. This was highly dependent on trade with its South American colonies, particularly the import of silver from Mexico. Conflict over American encroachment was both costly and potentially damaging, since Spain relied on American ships to evade the British blockade.
These factors made transferring Louisiana attractive to Spanish chief minister Manuel Godoy, but he needed it to be politically acceptable to Charles IV of Spain. Charles' wife Maria Luisa of Parma was the sister of Ferdinand of Parma, whose Duchy of Parma had been occupied by France since 1796; to compensate, Talleyrand proposed creating a kingdom for Louis, younger son of Ferdinand, and nephew of Maria Luisa. Since the territories Talleyrand proposed to exchange were held by Austria and the Kingdom of Naples respectively, it required the negotiation of a series of interlocking agreements.
Provisions
The terms of the treaty were vague, Clause II stating 'it may consist of the Grand Duchy of Tuscany...or the three Roman legations or of any other continental provinces of Italy which form a rounded state;' Spain would hand over Louisiana once this was confirmed.
When Austria and France made peace in the February 1801 Treaty of Lunéville, one provision forced Ferdinand III, Grand Duke of Tuscany to exchange his Italian duchy for the German Electorate of Salzburg and Berchtesgaden Provostry. Ferdinand of Parma, brother-in-law of Charles IV, then formally ceded his Duchy of Parma to France, although he was allowed to keep it until his death in October 1802.





