Answer:
By the Treaty of San Ildefonso (not to be confused with the earlier Treaty of San Ildefonso of 19 August 1796 which formed an alliance between France and Spain against the British) and the Treaty of Madrid, 21 March 1801, Spain returned to France the territory of Louisiana which France had ceded to Spain in 1763.
Step-by-step explanation: