The United States took control of the island in the 1898 Spanish–American War, as part of the Treaty of Paris