In 1782, during the American Revolutionary War and the Anglo-Spanish War (1779–83), Bernardo de Gálvez recruited men from the Canarian settlements of Louisiana and Galveston (in Spanish Texas, where Canarians had settled since 1779) to join his forces. They participated in three major military campaigns: the Baton Rouge, the Mobile, and the Pensacola, which ended the British presence in the Gulf Coast and West Florida. In 1790 settlers of mixed Canarian and Mexican origin from Galveston settled in Galveztown, Louisiana, to escape the annual flash floods and prolonged droughts of this area.