Answer:
For helping the Americans win the Revolutionary War, Spain gained territory on the Mississippi River and in Florida.
Explanation:
The opening of a second battle front militarily weakened the British position in the Americas, and it was vital from the strategic point of view for the beginning of the victories of George Washington. This, together with economic aid and victories such as those of the capture of Pensacola, made the American patriots at that time consider the Spanish intervention so decisive for the triumph of the American troops that, during the July 4 military stop, Bernardo de Galvez marched to the right of George Washington in recognition of his work and support for the American cause.
The Spanish forces remained undefeated in the American theater, at least until the end of the war. As a result, Spain retained Menorca and West Florida in the Treaty of Paris of 1783 and exchanged the Bahamas with Great Britain for East Florida. In addition, Spain settled its sovereignty over Mosquito Coast, Campeche and the San Andres archipelago. The lands east of the Mississippi, however, were recognized as part of the newly independent United States of America.