I want to know the answer to the following question:
What happened that allowed the United States to have Guam?
All the background I'm provided with is that "The United States took control of the island in the 1898 Spanish–American War, as part of the Treaty of Paris.". Is that enough to answer the question?
Answer: yes