Although Spain was never a formal ally of the United States during the American Revolution, its entry into the war definitively tipped the balance against Britain.