When did Congress pass the Mobile Act which recognized West Florida as being part of the United States ?
The border was finally resolved in 1795 by the Treaty of San Lorenzo , in which Spain recognized the 31 st parallel as the boundary .