The U.S. Navy annexed Kingman Reef in 1922. Spain had sold the Northern Mariana Islands to Germany in 1899. The islands passed to Japan, which in turn lost them to the United States in 1945 after the end of World War II. The Guantanamo Bay Naval Base, located on the southern side of Guantanamo Bay and taken from Spain in 1898, is not a U.S. outlying territory but a U.S. military base on formally "leased" land on the island of Cuba.