An official in the attorney general 's office says 4,000 cases pending before the courts will be nullified .