Mufti resigns