While the British were dealing with their rebellious colonists along the Atlantic coast, the Spanish entered the war in 1779 as an ally of France. They took the opportunity to order Bernardo de Galvez, Governor of Louisiana, on an expedition east to retake West Florida. He captured Mobile during the Battle of Fort Charlotte in 1780, as part of this campaign. The Spanish wished to eliminate any British threat to their Louisiana colony west of the Mississippi River, which they had received from France in the 1763 Treaty of Paris. Their actions were condoned by the revolting American colonies, partially evidenced by the presence of Oliver Pollack, representative of the American Continental Congress. Due to strong trade ties, many residents of Mobile and West Florida remained loyal to the British Crown. The Spanish renamed the fort as Fortaleza Carlota, and held Mobile as a part of Spanish West Florida until 1813, when it was seized by United States General James Wilkinson during the War of 1812.