text: Death-Priest of Myrkul doesn't need to have been on the battlefield when the creature died. For example, if a creature dies during combat on your turn and you cast Death-Priest of Myrkul during your second main phase, its last ability will trigger at the beginning of your end step.