:  [fɨɾˈnɐ̃ũ dɨ mɐgɐˈʎɐ̃ĩʃ] Spanish : Fernando de Magallanes ) (Spring 1480 – April 27, 1521, Mactan Island , Cebu , Philippines ) was a Portuguese maritime explorer who, while in the service of the Spanish Crown , tried to find a westward route to the Spice Islands of Indonesia .