 They succeeded in doing so with the military aid of General Andrew Jackson.He captured much of West Florida in the 1810s.He briefly returned Pensacola to Spain but areas further west became part of the new states of Mississippi (1817) and Alabama (1819).