Modi’s resignation accepted