When did Congress pass the Mobile Act which recognized West Florida as being part of the United States ?
The territory 's boundaries had not been defined in the 1762 Treaty of Fontainebleau that ceded it from France to Spain , nor the 1800 Third Treaty of San Ildefonso ceding it back to France , nor the 1803 Louisiana Purchase agreement ceding it to the United States .