The Spanish-American War was a conflict between Spain and the United States in 1898 that resulted in the U.S. gaining control over former Spanish territories, including Puerto Rico, Guam, and the Philippines. This war marked a significant shift in U.S. foreign policy, moving towards imperialism and influencing subsequent relations with Latin America and the Caribbean.