Conviction

is a judgment entered by a court upon a plea of guilty, guilty but mentally ill, or nolo contendere, or upon a jury verdict or court finding that a defendant is guilty or guilty but mentally ill. See MCL 780.621a(a)