The base, sometimes called "GTMO" or "Gitmo", covers 116 km² (about 45 square miles) on the western and eastern banks of the bay. It was established in 1898, when the United States obtained control of Cuba from Spain at the end of the Spanish-American War, following the 1898 invasion of Guantánamo Bay. The U.S. government obtained a perpetual lease that began on February 23, 1903.