Ferdinand ceded the Duchy of Parma to France in the Treaty of Aranjuez (1801). The Treaty of Aranjuez was signed on 21 March 1801 between France and Spain. The overall accord confirmed the terms presented in the Treaty of San Ildefonso. Moreover, Ferdinand agreed to surrender the Duchy of Parma (with Piacenza and Guastalla) to France. Ferdinand's son Louis received the Grand Duchy of Tuscany, which became the Kingdom of Etruria. Ferdinand III, the Habsburg Grand Duke of Tuscany, was compensated with the secularized territories of the Archbishop of Salzburg.