After the Republic of West Florida won a short-lived period of independence (from Spain) in 1810, Claiborne annexed the area to the Orleans Territory on the orders of President James Madison, who determined to consider it as part of the Louisiana Purchase.