Task: Wrong Candidate Generation
Input (English): comply with those conditions. See § 32A-2-13(G). In addition, Gerald received oral notification from the children’s court at his plea hearing that detention would result from failure to comply with certain grade court conditions. Gerald’s counsel and mother were present at the plea hearing. Gerald repeatedly told the court that he understood the conditions. {38} Furthermore, when Gerald signed the plea agreement and grade court order, he received the considerable benefit of being released into the community. Gerald now seeks to be relieved of the conditions of release while leaving the rest of the plea agreement intact. Having received the benefit of the plea, Gerald may not now complain that the conditions are invalid. Cf State v. Trujillo, 117 N.M. 769, 772, 877 P.2d 575, 578 (1994) (<HOLDING>); Herrera, 2001-NMCA-073, ¶25 (stating that 
 Holding statements: (A) recognizing that both parties to a plea bargain make various concessions and gain certain advantages during plea negotiations and underscoring that a criminal defendant having availed himself of the advantages of a plea agreement cannot welch on his part of the bargain internal quotation marks and citation omitted (B) holding that plea of guilty or nolo contendere is not rendered involuntary because it is a product of plea bargaining an accepted plea bargain must be recorded and court may accept a bargained plea to a lesser offense reasonably related to a charged offense (C) recognizing that a voluntary and understanding guilty plea entered without the benefit of a plea bargain waives all nonjurisdictional defects that occurred before the entry of the plea (D) recognizing that a single guilty plea may embody a series of interrelated concessions between the parties and allows the defendant to withdraw the entire plea when one part of the agreement fails (E) holding defendant did not prove an enforceable agreement only that there was some discussion of a plea bargain
Output (English): recognizing that a single guilty plea may embody a series of interrelated concessions between the parties and allows the defendant to withdraw the entire plea when one part of the agreement fails