When Laksamana Khoja Hassan died, Hang Nadim was appointed as the new Laksamana.
In 1516, Hang Nadim attacked Malacca with the hope of recapturing it from the Portuguese, but the attack was unsuccessful.