louisiana () was an administrative district of the viceroyalty of new spain from 1763 to 1801. it included the area west of the mississippi river basin, plus new orleans. spain got the territory from france, which had named it la louisiane after king louis xiv in 1682. it is sometimes called spanish louisiana. the district was given back to france, under the terms of the third treaty of san ildefonso (1800) and the treaty of aranjuez (1801). in 1802, king charles iv of spain wrote a royal bill on 14 october. this changed the transfer and outlined the conditions.