Task: Wrong Candidate Generation
Input (English): for the district court to grant his motion to withdraw his plea. But Harvey has not challenged the district court's ultimate finding that he was competent to stand trial based on the court's consideration of the opinions of all three psychiatrists. In light of the district court's unchallenged and supported determination that Harvey was competent to stand trial (and therefore competent to plead), Harvey cannot argue that the court committed obvious error in failing to sua sponte permit him to withdraw his plea on the basis of his "marginal competence." Nor can he claim that counsel was ineffective for failing to argue Harvey's marginal competency as a reason for withdrawing the plea. Harvey's claims related to his competency therefore fail. { 18 We affirm. 1 . The court stat Cir.2008) (<HOLDING>); United States v. Pease, 240 F.3d 938, 940-42 
 Holding statements: (A) holding defendant cannot waive claims of an illegal sentence a sentence violating terms of plea agreement an unknowing and involuntary plea and ineffective assistance of counsel (B) holding an attorneys mistaken prediction about a possible sentence does not render a defendants plea unknowing and involuntary (C) holding that a defense attorneys failure to uncover a defendants prior felony convictions and the attorneys inaccurate sentencing prediction did not render the defendants plea unknowing and involuntary because the defendant knew at the time he pleaded guilty what his sentence might be (D) holding that ineffective assistance can render a guilty plea involuntary (E) holding that an inaccurate sentencing estimate did not render a plea unknowing unintelligent or involuntary because the defendant was informed of the statutory maximum
Output (English): holding that a defense attorneys failure to uncover a defendants prior felony convictions and the attorneys inaccurate sentencing prediction did not render the defendants plea unknowing and involuntary because the defendant knew at the time he pleaded guilty what his sentence might be