American Revolutionary War: Spain recognizes United States independence.