The Texas Penal Code is the principal criminal code of the U.S. state of Texas. It was originally enacted in 1856 and underwent substantial revision in 1973, with the passage of the Revised Penal Code, in large part based on the American Law Institute's Model Penal Code.