Sanctions ended, Sudan pledges to act against terrorism