Louisiana was later and briefly retroceded 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 published a royal bill on 14 October, effecting the transfer and outlining the conditions. Spain agreed to continue administering the colony until French officials arrived and formalized the transfer.