Answer:
Spain declared war on Britain as an ally of France, itself an ally of the American colonies. Most notably, Spanish forces attacked British positions in the south and captured West Florida from Britain in the Siege of Pensacola. ... Spain also provided money, supplies and munitions to the American forces.