A criminal proceeding at which the defendant is officially called before a court of competent jurisdiction, informed of the offense charged in the complaint, information, indictment, or other charging document, and asked to enter a plea of guilty, not guilty, or as otherwise permitted by law.