P.C. 38.03 -
(b) It is no defense to prosecution under this section that the arrest or search was unlawful.
(c) Except as provided in Subsection (d), an offense under this section is a Class A misdemeanor.
(d) An offense under this section is a felony of the third degree if the actor uses a deadly weapon to resist the arrest or search.