The three ships reached Guam in March 1521. Later in the month they reached Homonhon Island in the Philippines. By this time they had only 150 men. Magellan formed a friendship with the island's king and soon joined in a war between the king and a rival. On April 27, 1521 Magellan was killed in a battle. The remaining men and ships quickly escaped the Philippines arrived at the Spice Islands in November 1521. By this time Elcano commanded the last ship in the expedition. They left the Spice Islands in December. On September 8, 1522 Elcano and his crew reached Spain completing Magellan's expedition. Elcano was surprised to learn they had lost a day in circumnavigating the globe.