The Spanish–American War was a conflict in 1898 between Spain and the United States, effectively the result of American intervention in the ongoing Cuban War of Independence. American attacks on Spain's Pacific possessions led to involvement in the Philippine Revolution and ultimately to the Philippine–American War. Although the main issue was Cuban independence, the ten-week war was fought in both the Caribbean and the Pacific. Although in the end American naval power proved decisive. The result was the 1898 Treaty of Paris, negotiated on terms favorable to the U.S.