Defendant appeals from his conviction and sentence for possessing more than ten pounds of marijuana. SDCL 22-42-6. We affirm.
Defendant pleaded not guilty to the charges against him. In the course of this prosecution defendant made a motion to suppress. The motion to suppress was made on the grounds that defendant had given statements to law enforcement officers while he was in custody but had not been informed of his Miranda 1 rights. After the trial court denied defendant’s motion to suppress, he petitioned to enter a plea of nolo contendere. See SDCL 23A-7-2 (pleas by defendant). The trial court accepted the plea of nolo contendere and entered a suspended sentence, placing the defendant on probation.
The issue raised by defendant is whether he was “in custody” at the time he made certain statements to law enforcement officers and whether he should have been informed of his Miranda rights. We do not reach the issue of whether the defendant was “in custody” because we determine that defendant’s plea of nolo con-tendere was a waiver of any alleged error in the denial of the motion to suppress.
This court has consistently followed the general rule that a voluntary and intelligent plea of guilty waives a defendant’s right to appeal all nonjurisdietional defects in the prior proceedings.
State v. Grosh,
A plea of nolo contendere has the same effect of waiving nonjurisdietional defects, including any alleged error in denying a motion to suppress evidence.
State v. Arnsberg,
The judgment of the trial court is affirmed.
Notes
. See
Miranda
v.
Arizona,
