Spain declared war on Britain as an ally of France, itself an ally of the American colonies. ... Spain also provided money, supplies and munitions to the American forces. Beginning in 1776, it jointly funded Roderigue Hortalez and Company, a trading company that provided critical military supplies.