Tex. Penal Code § 8.02
MISTAKE OF FACT
Text of § 8.02
(a) It is a defense to prosecution that the actor through mistake formed a reasonable belief about a matter of fact if his mistaken belief negated the kind of culpability required for commission of the offense.
(b) Although an actor's mistake of fact may constitute a defense to the offense charged, he may nevertheless be convicted of any lesser included offense of which he would be guilty if the fact were as he believed.
Cite this section
Tex. Penal Code § 8.02
https://lawconsensus.com/codes/texas/penal-code/8-02/
LawCensus reproduces the text of the law for reference. It may not show the most recent changes. Check the official source before you rely on it: official text. This is general information, not legal advice.