Task: Question Answering
Input (English): Passage: Despite Magellan's visit, Guam was not officially claimed by Spain until January 26, 1565 by General Miguel López de Legazpi.:46 From 1565 to 1815, Guam and the Northern Mariana Islands, the only Spanish outpost in the Pacific Ocean east of the Philippines, was an important resting stop for the Manila galleons, a fleet that covered the Pacific trade route between Acapulco and Manila.:51 To protect these Pacific fleets, Spain built several defensive structures which are still standing today, such as Fort Nuestra Señora de la Soledad in Umatac. It is the biggest single segment of Micronesia, the largest islands between the island of Kyushu (Japan), New Guinea, the Philippines, and the Hawaiian Islands. Question: In what year was Guam claimed by Spain?
Output (English): 1565