(a) An official of a correctional facility or juvenile facility, an employee of a correctional facility or juvenile facility, a person other than an employee who works for compensation at a correctional facility or juvenile facility, a volunteer at a correctional facility or juvenile facility, or a peace officer commits an offense if the person intentionally:(1) denies or impedes a person in custody in the exercise or enjoyment of any right, privilege, or immunity knowing his conduct is unlawful; or(2) engages in sexual contact, sexual intercourse, or deviate sexual intercourse with an individual in custody or, in the case of an individual in the custody of the Texas Juvenile Justice Department or placed in a juvenile facility, employs, authorizes, or induces the individual to engage in sexual conduct or a sexual performance.Text of subsection as amended by Acts 2021, 87th Leg., R.S., Ch. 895 (H.B. 3157), Sec. 1
(b) An offense under Subsection (a)(1) is a felony of the third degree. An offense under Subsection (a)(2) is a felony of the second degree, except that an offense under Subsection (a)(2) is a felony of the first degree if the offense is committed against:(1) an individual in the custody of the Texas Juvenile Justice Department or placed in a juvenile facility; or(2) a juvenile offender detained in or committed to a correctional facility.Text of subsection as amended by Acts 2021, 87th Leg., R.S., Ch. 939 (S.B. 312), Sec. 1
(b) An offense under Subsection (a)(1) is a Class A misdemeanor. An offense under Subsection (a)(2) is a felony of the second degree.(c) This section shall not preclude prosecution for any other offense set out in this code.(d) The Attorney General of Texas shall have concurrent jurisdiction with law enforcement agencies to investigate violations of this statute involving serious bodily injury or death.(e) In this section:Text of subdivision as amended by Acts 2015, 84th Leg., R.S., Ch. 216 (H.B. 511), Sec. 1
(1) "Correctional facility" means: (A) any place described by Section 1.07(a)(14);(B) any place or facility designated for the detention of a person suspected of violating a provision of the Immigration and Nationality Act (8 U.S.C. Section 1101 et seq.); or(C) a "secure correctional facility" or "secure detention facility" as defined by Section 51.02, Family Code.Text of subdivision as amended by Acts 2015, 84th Leg., R.S., Ch. 1136 (S.B. 183), Sec. 2
(1) "Correctional facility" means any place described by Section 1.07(a)(14).(2) "Custody" means the detention, arrest, or confinement of an adult offender, the detention of a juvenile offender, or the commitment of a juvenile offender to a correctional facility or juvenile facility.(2-a) "Juvenile facility" means: (A) a facility operated by the Texas Juvenile Justice Department or a private vendor under a contract with the Texas Juvenile Justice Department; or(B) a facility for the detention or placement of juveniles under juvenile court jurisdiction and that is operated wholly or partly by a juvenile board or another governmental unit or by a private vendor under a contract with the juvenile board or governmental unit.(3) "Sexual contact," "sexual intercourse," and "deviate sexual intercourse" have the meanings assigned by Section 21.01.(4) "Sexual conduct" and "performance" have the meanings assigned by Section 43.25.(5) "Sexual performance" means any performance or part thereof that includes sexual conduct by an individual.(f) An employee of the Texas Department of Criminal Justice, the Texas Juvenile Justice Department, a juvenile facility, a local juvenile probation department, or a community supervision and corrections department established under Chapter 76, Government Code, a person other than an employee who works for compensation at a juvenile facility or local juvenile probation department, or a volunteer at a juvenile facility or local juvenile probation department commits an offense if the actor engages in sexual contact, sexual intercourse, or deviate sexual intercourse with an individual who the actor knows is under the supervision of the Texas Department of Criminal Justice, Texas Juvenile Justice Department, probation department, or community supervision and corrections department but not in the custody of the Texas Department of Criminal Justice, Texas Juvenile Justice Department, probation department, or community supervision and corrections department.(g) An offense under Subsection (f) is a state jail felony.(h) It is an affirmative defense to prosecution under Subsection (f) that the actor was the spouse of the individual at the time of the offense.Amended by Acts 2021, Texas Acts of the 87th Leg. - Regular Session, ch. 939,Sec. 1, eff. 9/1/2021.Amended by Acts 2021, Texas Acts of the 87th Leg. - Regular Session, ch. 895,Sec. 1, eff. 9/1/2021.Amended by Acts 2017, Texas Acts of the 85th Leg. - Regular Session, ch. 540,Sec. 3, eff. 9/1/2017.Amended by Acts 2017, Texas Acts of the 85th Leg. - Regular Session, ch. 540,Sec. 2, eff. 9/1/2017.Amended by Acts 2017, Texas Acts of the 85th Leg. - Regular Session, ch. 540,Sec. 1, eff. 9/1/2017.Amended by Acts 2015, Texas Acts of the 84th Leg. - Regular Session, ch. 1136,Sec. 1, eff. 9/1/2015.Amended by Acts 2015, Texas Acts of the 84th Leg. - Regular Session, ch. 1136,Sec. 2, eff. 9/1/2015.Amended by Acts 2015, Texas Acts of the 84th Leg. - Regular Session, ch. 734,Sec. 144, eff. 9/1/2015.Amended by Acts 2015, Texas Acts of the 84th Leg. - Regular Session, ch. 734,Sec. 145, eff. 9/1/2015.Amended by Acts 2015, Texas Acts of the 84th Leg. - Regular Session, ch. 216,Sec. 1, eff. 9/1/2015.Amended By Acts 2009, 81st Leg., R.S., Ch. 87, Sec. 19.003, eff. 9/1/2009.Amended By Acts 2009, 81st Leg., R.S., Ch. 260, Sec. 5, eff. 9/1/2009.Amended By Acts 2007, 80th Leg., R.S., Ch. 908, Sec. 43, eff. 9/1/2007.Amended By Acts 2007, 80th Leg., R.S., Ch. 378, Sec. 3, eff. 6/15/2007.Amended By Acts 2007, 80th Leg., R.S., Ch. 263, Sec. 62, eff. 6/8/2007.Amended By Acts 2007, 80th Leg., R.S., Ch. 263, Sec. 63, eff. 6/8/2007.Amended By Acts 2001, 77th Leg., ch. 1070, Sec. 1, eff. 9/1/2001Amended By Acts 2001, 77th Leg., ch. 1297, Sec. 69, eff. 9/1/2001.Amended By Acts 1999, 76th Leg., ch. 158, Sec. 1 to 3, eff. 9/1/1999Amended by Acts 1997, 75th Leg., ch. 1406, Sec. 1, eff. 9/1/19971987, 70th Leg., ch. 18, Sec. 5, eff. 4/15/1987. Renumbered from Penal Code Sec. 39.021 and amended by Acts 1993, 73rd Leg., ch. 900, Sec. 1.01, eff. 9/1/1994.Amended by Acts 1983, 68th Leg., p. 3242, ch. 558, Sec. 8, eff. 9/1/1983Added by Acts 1979, 66th Leg., p. 1383, ch. 618, Sec. 1, eff. 9/1/1979.