We granted certiorari from the Court of Appeals’ opinion in Thompson v. State, 256 Ga. App. 776 (9) (569 SE2d 884) (2002), to address whether the trial court properly considered Henry L. Thompson’s three prior habitual violator convictions in aggravation of his sentence. Because the State conceded at the sentencing hearing that the convictions could not be used in aggravation because they were uncounseled and the transcript establishes affirmatively that the trial court nevertheless used the convictions to determine the length of Thompson’s sentence, we hold that the Court of Appeals erred by affirming the trial court’s ruling.
Thompson was convicted of violating OCGA § 40-5-58 (c) (1), driving a motor vehicle after having been declared an habitual violator and receiving notice that his driver’s license had been revoked. Because the conviction occurred before the expiration of five years from the revocation, he was subject to punishment by a fine of not less than $750 or by imprisonment for not less than one nor more than five years or both. Id. At the sentencing phase of the proceedings, the State introduced certified copies of three prior habitual violator cases in which Thompson entered guilty pleas. At the time the three HV convictions were tendered, the prosecutor informed the court that the pleas were being introduced
[n]ot for purposes of imposing a recidivist sentencing, Your Honor, simply because he was not represented by counsel at these particular pleas, but we do feel that they would be admissible for the Court, just as a presentence investigation would . . . not to use to enhance the sentence but to use to determine how much of the sentence should be probated.
*702Counsel for Thompson objected, arguing that the uncounseled HV convictions, “should not be considered by the Court for any purpose at sentencing.” Although the trial court questioned defense counsel on whether the convictions were obtained in violation of Thompson’s right to counsel,1 the trial court made no finding on that issue, but instead explained its decision to allow the State to file the three prior HV convictions solely on the basis that the convictions were certified. Thereafter, in entering the sentence, the court stated:
All these previous habitual violator offenses have been disposed of by probation apparently. But there comes a time when these repeated habitual violator offenses have to be strongly addressed. And perhaps they should have been more strongly addressed before. But at any rate in view of the fact that there are three previous convictions and here we are with another fourth conviction for violation of the Georgia Habitual Violator Act, I think it’s incumbent upon the Court to impose a sentence that is commensurate with the offense and I hereby impose a sentence of five years with three years to serve ....
Thus, although the State offered the prior HV guilty pleas solely for the trial court’s consideration in determining the amount of probation Thompson should receive, i.e., as a type of presentence investigation, see OCGA § 42-8-29, the trial court did not consider the convictions in that light but instead affirmatively used the convictions in fixing the length of Thompson’s sentence. See McDuffie v. Jones, 248 Ga. 544 (3) (283 SE2d 601) (1981) (presentence investigation reports cannot be used in aggravation to determine length of sentence but may be used only in determining amount of sentence to probate); compare Williams v. State, 165 Ga. App. 553 (3) (301 SE2d 908) (1983) (nothing in record indicated evidence improperly used to extend length of sentence).2
In addressing Thompson’s enumeration that the trial court erred by considering the three prior HV convictions during sentencing, the Court of Appeals followed this Court’s holding in Nash v. State, 271 *703Ga. 281 (519 SE2d 893) (1999). Nash held that in a presentence hearing where the State proffers a guilty plea as evidence in aggravation and proves both the existence of the plea and that the defendant was represented by counsel when the plea was taken, there is a presumption that the plea was handled properly (a “presumption of regularity”). Id. at 285. Upon this showing by the State, the burden then shifts to the defendant collaterally attacking the plea to produce some affirmative evidence showing an infringement of his rights or a procedural irregularity in the taking of the plea. Id. After conducting its own review of the guilty pleas adduced by the State against Thompson,3 the Court of Appeals concluded that the State carried its burden of proof and that the prior HV guilty pleas were entitled to the presumption of regularity, shifting the burden of proof to Thompson. Finding that Thompson had “not shown or even alleged, below or on appeal, any infringement or irregularity in the taking of the pleas,” Thompson, supra, 256 Ga. App. at 783, the Court of Appeals held that Thompson failed to carry his burden of proof.
We need not reach Thompson’s argument that the presumption of regularity in Nash should not apply when a guilty plea is collaterally attacked on the basis of a Gideon v. Wainwright violation,4 because even assuming, arguendo, that the Nash analysis is applicable, the Court of Appeals factually erred in its application. The Court of Appeals failed to take into consideration the fact that the State at the sentencing hearing had expressly conceded that all three of Thompson’s prior guilty plea convictions it sought to introduce could not be used for sentencing5 and that the trial court never rejected the State’s assessment of the pleas or defense counsel’s assertion that there was no evidence Thompson knowingly and intelligently waived his right to counsel. Moreover, even if the Court of Appeals were cor*704rect in concluding that the certified convictions were entitled to a presumption of regularity, see footriote 3, supra, we do not agree with the Court of Appeals that under the factual circumstances in this case Thompson was required to produce additional affirmative evidence to show his right to counsel was infringed in the taking of those pleas. Thompson carried his burden of “producing] some affirmative evidence showing an infringement of his rights or a procedural irregularity in the taking of the plea,” Nash, supra, 271 Ga. at 285, when the prosecutor himself acknowledged that the pleas could not properly be used for that very reason.6
Accordingly, the Court of Appeals erred when it upheld the trial court’s consideration of Thompson’s three prior HV convictions in aggravation of his sentence. The case is therefore reversed with direction that the Court of Appeals remand it to the trial court for resentencing.
Judgment reversed.
All the Justices concur, except Carley, J, who dissents.The transcript reveals that the trial court asked defense counsel, “You’re not representing to the Court that he was not made aware of his right to counsel are you?” Counsel replied, “Well, Your Honor, if he couldn’t afford counsel they were supposed to get him one and they didn’t. And there’s no evidence in the record that he knowingly and intelligently and voluntarily waived his right to counsel nor is there any evidence in those records that he in fact had counsel. We would ask the Court not to consider them for any purpose.”
Because the trial court here clearly considered Thompson’s guilty plea convictions to determine the length of Thompson’s sentence, we do not now address the issue whether uncounseled guilty pleas may properly be considered for the purpose of deciding whether to suspend or probate all or part of a sentence to be imposed in a case.
The Court of Appeals found that the documents in the record showed that Thompson signed forms in all three prior cases expressly indicating that he waived his right to be represented by an attorney. And, in the most recent prior offense, the trial court also entered an order, signed by the judge and Thompson, indicating in more detail that Thompson understood his rights, including the right to be represented by counsel, that Thompson knowingly and voluntarily waived that right, and that the trial court ascertained that Thompson understood and intelligently and voluntarily waived the right to counsel.
Thompson v. State, supra, 256 Ga. App. at 782-783. We do not address whether the Court of Appeals was authorized to conduct such a de novo review of the proffered pleas.
Gideon v. Wainwright, 372 U. S. 335 (83 SC 792, 9 LE2d 799) (1963).
Although the fact that a defendant was “not represented by counsel” could mean that the defendant had chosen instead to knowingly and voluntarily waive his right to counsel, we cannot assign this meaning to the State’s concession in Thompson’s case. The prosecutor’s statement regarding the uncounseled nature of the guilty pleas must be read in context with his concession that this lack of representation meant the pleas could not be admitted to aggravate Thompson’s sentence, i.e., that the pleas were rendered unusable due to the lack of legal representation.
Although after a defendant presents evidence sufficient to indicate a constitutional infirmity exists, the burden shifts back to the State, which may then establish the validity of the conviction by introducing a transcript of the taking of the guilty plea or other evidence by which the trial court may determine that the guilty plea was informed and voluntary, Nash, supra, 271 Ga. at 285, no such transcript was introduced at Thompson’s sentencing hearing.