In what year did the US take control of the Philippines from Spain?

History Trivia: In what year did the US take control of the Philippines from Spain?