President’s economic adviser leaves Friday.