The United States' international power grew as a result of the Spanish-American War because it
A. increased military spending.
B. signed a treaty with Mexico.
C. built its industries.
D. gained new territories.