During Portuguese admiral Diogo Lopes de Sequeira's visit to Malacca from 1509–1510, the sultan planned to assassinate him. However, Sequeira learned of this plot and fled Malacca after losing a few followers to the Sultan's guards. When the famous Portuguese naval officer Afonso de Albuquerque received word, he decided to utilize this to embark upon his expeditions of conquest in Asia. Malacca was then subsequently attacked by the Portuguese in the Capture of Malacca (1511), during which Mahmud Shah fled across the Malay Peninsula to Pahang on the east coast, where he made a futile effort to enlist Chinese aid.