In 1814 Florida was a province of Spain and Pensacola was protected by three small forts occupied by British and Spanish soldiers.
Andrew Jackson approached Pensacola from the west on November 6, 1814 and demanded the forts be surrendered. The Spanish refused and the next morning Jackson and 3,000 American troops and Choctaw Indians swept north around Fort San Miguel and attacked Pensacola from the east. After a brief battle the British boarded awaiting ships and sailed off into the Gulf of Mexico. Jackson thought the British would next attack Mobile so he took off to the west to fortify the city. There he realized that New Orleans would be the entre point of the British invasion. Jackson arrived in New Orleans on December 1 and the British invasion had already begun.