As part of their campaign during the Spanish-American War, the United States captured Guam in a bloodless landing on June 21, 1898. In 1898, the Treaty of Paris formalized the handover, and Guam officially came under U.S. rule.