Defendant was convicted on his plea of guilty to the charge of second-degree murder. MCL 750.317; MSA 28.549. He was sentenced to a prison term of from 40 to 80 years and now appeals by right.
Prior to defendant’s preliminary examination on an open charge of murder, defense counsel raised the question of defendant’s competency to stand trial. It was agreed by all parties that the preliminary examination would take place as scheduled but that the decision on whether to bind defendant over for trial would be reserved until defendant’s competency could be determined. It was also agreed that there would be no defect in the proceedings if the defendant was found competent. After the preliminary examination was held, defendant was referred to the Center for Forensic Psychiatry and, pursuant to the evaluation undertaken at the center, adjudged incompetent to stand trial. A second hearing reaffirmed this finding, but after a third hearing defendant was found competent and bound over to the circuit court on a charge of second-degree murder, to which he pled guilty.
On appeal defendant argues that the circuit court lacked jurisdiction to entertain his plea because there had not been a valid preliminary examination. We agree that defendant’s preliminary examination was not valid. Defense counsel raised the question of competency before the preliminary examination was held and when the defendant was evaluated he was adjudged incompetent to stand trial. The state may not proceed against an incompetent defendant.
People v Parney,
The prosecution bases its argument on the plea-
*146
waiver doctrine, which holds generally that a plea of guilty waives all nonjurisdictional defects in the prior proceedings. See
People v Ginther,
Related to the plea-waiver doctrine is the longstanding rule that when a defendant pleads to the information without objection to the lack of a preliminary examination or a valid waiver of that statutory right, he or she is deemed to have waived that right and cannot raise it as an issue on appeal.
People v Tate,
There is no dispute in the instant case as to defendant’s competency at the time he entered his plea of guilty. By so pleading he waived his statutory right to a preliminary examination and the circuit court had jurisdiction to accept his plea.
Affirmed.
