I want to know the answer to the following question:
What country handed over Puerto Rico to the US?
All the background I'm provided with is that "Puerto Rico has been under U.S. sovereignty for over a century when it was ceded to the U.S. by Spain following the end of the Spanish–American War, and Puerto Ricans have been U.S. citizens since 1917.". Is that enough to answer the question?
Answer: yes