The first European to travel to Guam was Portuguese navigator Ferdinand Magellan, sailing for the King of Spain, when he sighted the island on March 6, 1521, during his fleet's circumnavigation of the globe. Despite Magellan's visit, Guam was not officially claimed by Spain until January 26, 1565 by Miguel López de Legazpi. From 1565 to 1815, Guam and the Northern Mariana Islands, the only Spanish outposts in the Pacific Ocean east of the Philippines, were reprovisioning stops for the Manila galleons, a fleet that covered the Pacific trade route between Acapulco and Manila.