In May 1781 the Spanish took back control of Pensacola, Florida. Pensacola was the capital of the British colony of West Florida, a territory that the Spanish had ceded to the British following the French Indian War. Spain's entrance in the American Revolutionary War saw them regain East and West Florida.