Disaffected with the MNLF while in hiding in Sampinit, Hapilon joined the Abu Sayyaf group led by Abdurajak Abubakar Janjalani, who also became his religious mentor. He eventually rose through the ranks of Abu Sayyaf, becoming one of the group's leaders.[note 1][8][11][17]