whether his plea was entered voluntarily *994 with the understanding of the charge and the consequences of the plea. We affirm.
In April 1990, Kenneth Morris was charged in a five-count complaint with rape, aggravated criminal sodomy, attempted aggravated criminal sodomy, aggravated sexual battery, and sexual battery. The defendant had been convicted of a felony offense in a previous case and was still on probation for that offense. On December 13, 1990, the defendant appeared for jury trial on the five charges. On that same date the defendant also appeared on a motion for revocation of his probation from the earlier felony conviction.
The record on this appearance establishes that the defendant with his counsel, David K. Clark, and the State through its attorney, John J. Gillett, entered into anmissed several appointments with his therapist and that he had assaulted another woman. Upon revocation, his original sentence of 15 years to life was reinstated. In August 1991, the defendant's sentence was modified to a sentence of not less than 10 years nor more than life.
In February 1992, over two years after his plea of guilty to rape, the defendant moved to withdraw his plea. It is from the court's denial of this motion that the defendant appeals.
Before we begin our discussion of the specific contentions of the defendant, we think it is important to note that the plea entered by the defendant was the result of a plea agreement. From the record it appears that the agreement was beneficial to *1000 the defendant in that the State