The Chamorro people settled the Marianas some 3,500 years ago. Ferdinand Magellan reached the island in 1521, and Spain claimed it in 1565. In 1668 the Jesuit Diego Luis de San Vitores founded the first mission at Hagåtña; the Spanish-Chamorro wars that followed, together with disease, killed most of the Chamorro population.
Guam became a stop on the Manila galleon route between Acapulco and Manila. After the Spanish-American War it was ceded to the United States in 1898. Japan invaded on 8 December 1941, and the island's people suffered forced labour, internment and killings during 31 months of occupation until US forces landed on 21 July 1944. Guam became an unincorporated US territory with US citizenship for its people under the Organic Act of 1950; large US military bases occupy much of the island.
Hagåtña (formerly Agana) was the Spanish capital and the centre of island life for nearly three centuries, with a governor's palace, churches and a cathedral. It was largely destroyed during the fighting of 1944, and after the war the town was rebuilt on a smaller scale as families moved to the villages; today it is the seat of the Government of Guam, with the restored Plaza de España at its centre.