OPINION
delivered the opinion of the Court,
In 2002, applicant plead guilty to deadly conduct, a third-degree felony. Tex. Penal Code § 22.05. The trial court deferred adjudication of guilt in accordance with a plea agreement and placed applicant on community supervision for three years. In 2004, the state moved for an adjudication of guilt. The trial court adjudicated applicant and orally sentenced him to eight years’ imprisonment in the Texas Department of Criminal Justice — correctional institutions division (TDCJ-CID), but did not announce a deadly-weapon finding. In the written judgment and sentence, however, the trial court included an affirmative deadly-weapon finding.
Applicant asserts that the trial court’s entry of an affirmative deadly-weapon finding violated Tex.Code Crim. Proc. art. 26.13(a)(2), Tex.Code Crim. Proc. art. 42.12 § 5(b), and his due process rights, thus rendering his plea involuntary and his sentence illegal. Specifically, applicant contends that Tex.Code Crim. Proc. art. 26.13(a)(2) requires a court to either follow the existing plea agreement made before the decision to adjudicate guilt or allow applicant to withdraw his previously entered guilty plea. This argument must fail.
In
Ditto v. State,
*820 Applicant also argues that the trial court lacked the authority to enter an affirmative deadly-weapon finding because the court failed to proceed as if adjudication had not been deferred pursuant to Tex.Code Crim. Proc. art. 42.12 § 5(b). Applicant relies on Ditto. As we noted in Ditto, the court of appeals misread Tex. Code Crim. Proc. art. 42.12 § 5(b) and based its ruling on “[w]hen a defendant’s deferred adjudication is revoked,” rather than the actual words of the statute, “[a]f-ter an adjudication.... ” (Emphasis added.) “Only after guilt has been adjudicated do proceedings continue as if there had been no deferred adjudication. Accordingly, section 5(b) does not stand for the proposition that appellants were in a position to withdraw their pleas after the revocation of their deferred adjudication probations.” Id. at 239. (Emphasis in original.)
Finally, applicant claims that his due-process rights were violated because the addition of the deadly-weapon finding destroyed his legitimate expectation of serving the sentence announced orally by the court.
A deadly-weapon finding may be made if a defendant used or exhibited a deadly weapon or he was a party to the offense and knew that a deadly weapon would be used or exhibited. Tex.Code Crim. Proc. art. 42.12 § 8g(a)(2). This Court has previously held that a defendant is entitled to notice that the state intends to seek an affirmative deadly-weapon finding.
Narron v. State,
A firearm is a deadly weapon
per se.
Tex. Penal Code § 1.07(a)(17)(A). In the instant case, the indictment stated that applicant “did then and there knowingly discharge a firearm at and in the direction of a vehicle, and [he] was then and there reckless as to whether the vehicle was occupied.” Based on the language in the indictment, applicant had sufficient notice that the state would seek an affirmative finding. Furthermore, when applicant plead guilty to deadly conduct before being placed on deferred adjudication, he confessed that (1) he was the same person named in the indictment, and (2) that he committed the offense charged in the indictment. By properly admonishing applicant and then accepting his guilty plea to the indictment, the trial court necessarily determined that applicant used a deadly weapon in the commission of the offense.
Marshall v. State,
Nevertheless, applicant asserts, pursuant to
Ex parte Madding,
The trial court properly included an affirmative deadly-weapon finding in the written judgment. Relief is denied.
Notes
. Ditto was a consolidation of two cases, Anthony Ray Ditto and Lemar Ervin, both appealed to the same court of appeals.
. See Madding at 135; Coffey v. State, 979 S.W.2d 326, 328 (Tex.Crim.App.1998). A “sentence" includes "that part of the judgment ... that orders that the punishment be *821 carried into execution in the manner prescribed by law." TexCode Crim. Proc. art. 42.02.
. Tex. Gov't Code §§ 508.145; 508.149; 508.151.
.
Ross,
