reglab/housing_qa huggingface dataset:
TX Code Crim Pro art 1.13 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 1 - General Provisions|Article 1.13. Waiver of Trial by Jury

(a)  The defendant in a criminal prosecution for any offense other than a capital felony case in which the state notifies the court and the defendant that it will seek the death penalty shall have the right, upon entering a plea, to waive the right of trial by jury, conditioned, however, that, except as provided by Article 27.19, the waiver must be made in person by the defendant in writing in open court with the consent and approval of the court, and the attorney representing the state.  The consent and approval by the court shall be entered of record on the minutes of the court, and the consent and approval of the attorney representing the state shall be in writing, signed by that attorney, and filed in the papers of the cause before the defendant enters the defendant's plea.(b) In a capital felony case in which the attorney representing the State notifies the court and the defendant that it will not seek the death penalty, the defendant may waive the right to trial by jury but only if the attorney representing the State, in writing and in open court, consents to the waiver.(c) A defendant may agree to waive a jury trial regardless of whether the defendant is represented by an attorney at the time of making the waiver, but before a defendant charged with a felony who has no attorney can agree to waive the jury, the court must appoint an attorney to represent him.|Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722.|Amended by Acts 1991, 72nd Leg., ch. 652, Sec. 1, eff. Sept. 1, 1991;  Subsec. (c) amended by Acts 1997, 75th Leg., ch. 285, Sec. 1, eff. Sept. 1, 1997.Amended by: Acts 2011, 82nd Leg., R.S., Ch. 1031 (H.B. 2847), Sec. 1, eff. September 1, 2011.|
TX Code Crim Pro art 1.14 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 1 - General Provisions|Article 1.14. Waiver of Rights

(a)  The defendant in a criminal prosecution for any offense may waive any rights secured him by law except that a defendant in a capital felony case may waive the right of trial by jury only in the manner permitted by Article 1.13(b) of this code.(b) If the defendant does not object to a defect, error, or irregularity of form or substance in an indictment or information before the date on which the trial on the merits commences, he waives and forfeits the right to object to the defect, error, or irregularity and he may not raise the objection on appeal or in any other postconviction proceeding.  Nothing in this article prohibits a trial court from requiring that an objection to an indictment or information be made at an earlier time in compliance with Article 28.01 of this code.|Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722.  Amended by Acts 1967, 60th Leg., p. 1733, ch. 659, Sec. 1, eff. Aug. 28, 1967;  Acts 1973, 63rd Leg., p. 1127, ch. 426, art. 3, Sec. 5, eff. June 14, 1973.|Amended by Acts 1985, 69th Leg., ch. 577, Sec. 1, eff. Dec. 1, 1985;  Acts 1991, 72nd Leg., ch. 652, Sec. 2, eff. Sept. 1, 1991.|
TX Code Crim Pro art 1.141 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 1 - General Provisions|Article 1.141. Waiver of Indictment for Noncapital Felony

A person represented by legal counsel may in open court or by written instrument voluntarily waive the right to be accused by indictment of any offense other than a capital felony.  On waiver as provided in this article, the accused shall be charged by information.|Added by Acts 1971, 62nd Leg., p. 1148, ch. 260, Sec. 1, eff. May 19, 1971.|
TX Code Crim Pro art 1.15 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 1 - General Provisions|Article 1.15. Jury in Felony

No person can be convicted of a felony except upon the verdict of a jury duly rendered and recorded, unless the defendant, upon entering a plea, has in open court in person waived his right of trial by jury in writing in accordance with Articles 1.13 and 1.14;  provided, however, that it shall be necessary for the state to introduce evidence into the record showing the guilt of the defendant and said evidence shall be accepted by the court as the basis for its judgment and in no event shall a person charged be convicted upon his plea without sufficient evidence to support the same.  The evidence may be stipulated if the defendant in such case consents in writing, in open court, to waive the appearance, confrontation, and cross-examination of witnesses, and further consents either to an oral stipulation of the evidence and testimony or to the introduction of testimony by affidavits, written statements of witnesses, and any other documentary evidence in support of the judgment of the court.  Such waiver and consent must be approved by the court in writing, and be filed in the file of the papers of the cause.|Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722.  Amended by Acts 1967, 60th Leg., p. 1733, ch. 659, Sec. 2, eff. Aug. 28, 1967;  Acts 1971, 62nd Leg., p. 3028, ch. 996, Sec. 1, eff. June 15, 1971;  Acts 1973, 63rd Leg., p. 1127, ch. 426, art. 3, Sec. 5, eff. June 14, 1973.|Amended by Acts 1991, 72nd Leg., ch. 652, Sec. 3, eff. Sept. 1, 1991.|
TX Code Crim Pro art 1.16 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 1 - General Provisions|Article 1.16. Liberty of Speech and Press

Every person shall be at liberty to speak, write or publish his opinion on any subject, being liable for the abuse of that privilege;  and no law shall ever be passed curtailing the liberty of speech or of the press.  In prosecutions for the publication of papers investigating the conduct of officers or men in public capacity, or when the matter published is proper for public information, the truth thereof may be given in evidence.  In all indictments for libels, the jury shall have the right to determine the law and the facts, under the direction of the court, as in other cases.|Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722.|
TX Code Crim Pro art 1.17 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 1 - General Provisions|Article 1.17. Religious Belief

No person shall be disqualified to give evidence in any court of this State on account of his religious opinions, or for the want of any religious belief;  but all oaths or affirmations shall be administered in the mode most binding upon the conscience, and shall be taken subject to the pains and penalties of perjury.|Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722.|
TX Code Crim Pro art 1.18 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 1 - General Provisions|Article 1.18. Outlawry and Transportation

No citizen shall be outlawed, nor shall any person be transported out of the State for any offense committed within the same.|Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722.|
TX Code Crim Pro art 1.19 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 1 - General Provisions|Article 1.19. Corruption of Blood, Etc

No conviction shall work corruption of blood or forfeiture of estate.|Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722.|
TX Code Crim Pro art 1.20 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 1 - General Provisions|Article 1.20. Conviction of Treason

No person shall be convicted of treason except on the testimony of two witnesses to the same overt act, or on confession in open court.|Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722.|
TX Code Crim Pro art 1.21 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 1 - General Provisions|Article 1.21. Privilege of Legislators

Senators and Representatives shall, except in cases of treason, felony or breach of the peace, be privileged from arrest during the session of the Legislature, and in going to and returning from the same, allowing one day for every twenty miles such member may reside from the place at which the Legislature is convened.|Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722.|
TX Code Crim Pro art 1.23 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 1 - General Provisions|Article 1.23. Dignity of State

All justices of the Supreme Court, judges of the Court of Criminal Appeals, justices of the Courts of Appeals and judges of the District Courts, shall, by virtue of their offices, be conservators of the peace throughout the State.  The style of all writs and process shall be "The State of Texas".  All prosecutions shall be carried on "in the name and by authority of The State of Texas", and conclude, "against the peace and dignity of the State".|Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722.|Amended by Acts 1981, 67th Leg., p. 801, ch. 291, Sec. 97, eff. Sept. 1, 1981.|
TX Code Crim Pro art 1.24 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 1 - General Provisions|Article 1.24. Public Trial

The proceedings and trials in all courts shall be public.|Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722.|
TX Code Crim Pro art 1.25 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 1 - General Provisions|Article 1.25. Confronted by Witnesses

The defendant, upon a trial, shall be confronted with the witnesses, except in certain cases provided for in this Code where depositions have been taken.|Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722.|
TX Code Crim Pro art 1.26 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 1 - General Provisions|Article 1.26. Construction of This Code

The provisions of this Code shall be liberally construed, so as to attain the objects intended by the Legislature:  The prevention, suppression and punishment of crime.|Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722.|
TX Code Crim Pro art 1.27 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 1 - General Provisions|Article 1.27. Common Law Governs

If this Code fails to provide a rule of procedure in any particular state of case which may arise, the rules of the common law shall be applied and govern.|Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722.
TX Code Crim Pro art 2.01 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 2 - General Duties of Officers|Article 2.01. Duties of District Attorneys

Each district attorney shall represent the State in all criminal cases in the district courts of his district and in appeals therefrom, except in cases where he has been, before his election, employed adversely.  When any criminal proceeding is had before an examining court in his district or before a judge upon habeas corpus, and he is notified of the same, and is at the time within his district, he shall represent the State therein, unless prevented by other official duties.  It shall be the primary duty of all prosecuting attorneys, including any special prosecutors, not to convict, but to see that justice is done.  They shall not suppress facts or secrete witnesses capable of establishing the innocence of the accused.|Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722.|Amended by Acts 1981, 67th Leg., p. 801, ch. 291, Sec. 98, eff. Sept. 1, 1981.|
TX Code Crim Pro art 2.02 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 2 - General Duties of Officers|Article 2.02. Duties of County Attorneys

The county attorney shall attend the terms of court in his county below the grade of district court, and shall represent the State in all criminal cases under examination or prosecution in said county;  and in the absence of the district attorney he shall represent the State alone and, when requested, shall aid the district attorney in the prosecution of any case in behalf of the State in the district court.  He shall represent the State in cases he has prosecuted which are appealed.|Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722.|Amended by Acts 1981, 67th Leg., p. 801, ch. 291, Sec. 99, eff. Sept. 1, 1981.|
TX Code Crim Pro art 2.021 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 2 - General Duties of Officers|Article 2.021. Duties of Attorney General

The attorney general may offer to a county or district attorney the assistance of the attorney general's office in the prosecution of an offense described by Article 66.102(h) the victim of which is younger than 17 years of age at the time the offense is committed.  On request of a county or district attorney, the attorney general shall assist in the prosecution of an offense described by Article 66.102(h) the victim of which is younger than 17 years of age at the time the offense is committed.  For purposes of this article, assistance includes investigative, technical, and litigation assistance of the attorney general's office.|Added by Acts 2007, 80th Leg., R.S., Ch. 593 (H.B. 8), Sec. 1.02, eff. September 1, 2007.Amended by: Acts 2017, 85th Leg., R.S., Ch. 1058 (H.B. 2931), Sec. 4.01, eff. January 1, 2019.|
TX Code Crim Pro art 2.022 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 2 - General Duties of Officers|Article 2.022. Assistance of Texas Rangers

(a)  The attorney representing the state may request the Texas Rangers division of the Department of Public Safety to provide assistance to a local law enforcement agency investigating an offense that:(1)  is alleged to have been committed by an elected officer of the political subdivision served by the local law enforcement agency;  and(2)  on conviction or adjudication, would subject the elected officer to registration as a sex offender under Chapter 62.(b)  For purposes of this article, "assistance" includes investigative, technical, and administrative assistance.|Added by Acts 2009, 81st Leg., R.S., Ch. 431 (H.B. 2130), Sec. 1, eff. June 19, 2009.|
TX Code Crim Pro art 2.023 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 2 - General Duties of Officers|Article 2.023. Notification to Texas Department of Criminal Justice

(a)  This article applies only to a defendant who, in connection with a previous conviction for an offense listed in Article 42A.054(a) or for which the judgment contains an affirmative finding under Article 42A.054(c) or (d):(1)  received a sentence that included imprisonment at a facility operated by or under contract with the Texas Department of Criminal Justice; and(2)  was subsequently released from the imprisonment, including a release on parole, to mandatory supervision, or following discharge of the defendant's sentence.(b)  Not later than the 10th day after the date that a defendant described by Subsection (a) is indicted for an offense listed in Article 42A.054(a) or for which the judgment contains an affirmative finding under Article 42A.054(c) or (d), the attorney representing the state shall notify an officer designated by the Texas Department of Criminal Justice of the offense charged in the indictment.|Added by Acts 2017, 85th Leg., R.S., Ch. 772 (H.B. 104), Sec. 1, eff. September 1, 2017.|
TX Code Crim Pro art 2.024 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 2 - General Duties of Officers|Article 2.024. Tracking Use of Certain Testimony

(a)  In this article:(1)  "Attorney representing the state" means a district attorney, a criminal district attorney, or a county attorney with criminal jurisdiction.(2)  "Correctional facility" has the meaning assigned by Section 1.07, Penal Code.(b)  An attorney representing the state shall track:(1)  the use of testimony of a person to whom a defendant made a statement against the defendant's interest while the person was imprisoned or confined in the same correctional facility as the defendant, if known by the attorney representing the state, regardless of whether the testimony is presented at trial; and(2)  any benefits offered or provided to a person in exchange for testimony described by Subdivision (1).|Added by Acts 2017, 85th Leg., R.S., Ch. 686 (H.B. 34), Sec. 1, eff. September 1, 2017.Redesignated by Acts 2019, 86th Leg., R.S., Ch. 467 (H.B. 4170), Sec. 21.001(1), eff. September 1, 2019.|
TX Code Crim Pro art 2.025 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 2 - General Duties of Officers|Article 2.025. Special Duty of District or County Attorney Relating to Child Support

If a district or county attorney receives money from a person who is required by a court order to pay child support through a local registry or the Title IV-D agency and the money is presented to the attorney as payment for the court-ordered child support, the attorney shall transfer the money to the local registry or Title IV-D agency designated as the place of payment in the child support order.|Added by Acts 1999, 76th Leg., ch. 40, Sec. 1, eff. Sept. 1, 1999.|
TX Code Crim Pro art 2.03 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 2 - General Duties of Officers|Article 2.03. Neglect of Duty

(a)  It shall be the duty of the attorney representing the State to present by information to the court having jurisdiction, any officer for neglect or failure of any duty enjoined upon such officer, when such neglect or failure can be presented by information, whenever it shall come to the knowledge of said attorney that there has been a neglect or failure of duty upon the part of said officer;  and he shall bring to the notice of the grand jury any act of violation of law or neglect or failure of duty upon the part of any officer, when such violation, neglect or failure is not presented by information, and whenever the same may come to his knowledge.(b) It is the duty of the trial court, the attorney representing the accused, the attorney representing the state and all peace officers to so conduct themselves as to insure a fair trial for both the state and the defendant, not impair the presumption of innocence, and at the same time afford the public the benefits of a free press.|Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722.  Amended by Acts 1967, 60th Leg., p. 1733, ch. 659, Sec. 3, eff. Aug. 28, 1967.|
TX Code Crim Pro art 2.04 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 2 - General Duties of Officers|Article 2.04. Shall Draw Complaints

Upon complaint being made before a district or county attorney that an offense has been committed in his district or county, he shall reduce the complaint to writing and cause the same to be signed and sworn to by the complainant, and it shall be duly attested by said attorney.|Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722.|
TX Code Crim Pro art 2.05 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 2 - General Duties of Officers|Article 2.05. When Complaint Is Made

If the offense be a misdemeanor, the attorney shall forthwith prepare an information based upon such complaint and file the same in the court having jurisdiction;  provided, that in counties having no county attorney, misdemeanor cases may be tried upon complaint alone, without an information, provided, however, in counties having one or more criminal district courts an information must be filed in each misdemeanor case.  If the offense be a felony, he shall forthwith file the complaint with a magistrate of the county.|Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722.|
TX Code Crim Pro art 2.06 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 2 - General Duties of Officers|Article 2.06. May Administer Oaths

For the purpose mentioned in the two preceding Articles, district and county attorneys are authorized to administer oaths.|Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722.|
TX Code Crim Pro art 2.07 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 2 - General Duties of Officers|Article 2.07. Attorney Pro Tem

(a)  Whenever an attorney for the state is disqualified to act in any case or proceeding, is absent from the county or district, or is otherwise unable to perform the duties of the attorney's office, or in any instance where there is no attorney for the state, the judge of the court in which the attorney represents the state may appoint, from any county or district, an attorney for the state or may appoint an assistant attorney general to perform the duties of the office during the absence or disqualification of the attorney for the state.(b)  Except as otherwise provided by this subsection, the duties of the appointed office are additional duties of the appointed attorney's present office, and the attorney is not entitled to additional compensation.  This subsection does not prevent a commissioners court of a county from contracting with another commissioners court to pay expenses and reimburse compensation paid by a county to an attorney who is appointed to perform additional duties.(b-1)  An attorney for the state who is not disqualified to act may request the court to permit the attorney's recusal in a case for good cause, and on approval by the court, the attorney is disqualified.(c)  Repealed by Acts 2019, 86th Leg., R.S., Ch. 580 (S.B. 341), Sec. 4, eff. September 1, 2019.(d)  In this article, "attorney for the state" means a county attorney with criminal jurisdiction, a district attorney, or a criminal district attorney.(e)  Repealed by Acts 2019, 86th Leg., R.S., Ch. 580 (S.B. 341), Sec. 4, eff. September 1, 2019.(f)  Repealed by Acts 2019, 86th Leg., R.S., Ch. 580 (S.B. 341), Sec. 4, eff. September 1, 2019.(g)  Repealed by Acts 2019, 86th Leg., R.S., Ch. 580 (S.B. 341), Sec. 4, eff. September 1, 2019.|Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722.  Amended by Acts 1967, 60th Leg., p. 1733, ch. 659, Sec. 4, eff. Aug. 28, 1967;  Acts 1973, 63rd Leg., p. 356, ch. 154, Sec. 1, eff. May 23, 1973.|Subsec. (b) amended by and subsec. (b-1) added by Acts 1987, 70th Leg., ch. 918, Sec. 1, eff. Aug. 31, 1987;  Subsecs. (e), (f) added by Acts 1995, 74th Leg., ch. 785, Sec. 1, eff. Sept. 1, 1995;  Subsec. (g) added by Acts 1999, 76th Leg., ch. 1545, Sec. 1, eff. Sept. 1, 1999.Amended by: Acts 2019, 86th Leg., R.S., Ch. 580 (S.B. 341), Sec. 1, eff. September 1, 2019.Acts 2019, 86th Leg., R.S., Ch. 580 (S.B. 341), Sec. 4, eff. September 1, 2019.|
TX Code Crim Pro art 2.08 (2021)
2021 Texas Statutes|Code of Criminal Procedure|Title 1 - Code of Criminal Procedure|Chapter 2 - General Duties of Officers|Article 2.08. Disqualified

(a)  District and county attorneys shall not be of counsel adversely to the State in any case, in any court, nor shall they, after they cease to be such officers, be of counsel adversely to the State in any case in which they have been of counsel for the State.(b)  A judge of a court in which a district or county attorney represents the State shall declare the district or county attorney disqualified for purposes of Article 2.07 on a showing that the attorney is the subject of a criminal investigation by a law enforcement agency if that investigation is based on credible evidence of criminal misconduct for an offense that is within the attorney's authority to prosecute.  A disqualification under this subsection applies only to the attorney's access to the criminal investigation pending against the attorney and to any prosecution of a criminal charge resulting from that investigation.|Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722.Amended by: Acts 2011, 82nd Leg., R.S., Ch. 977 (H.B. 1638), Sec. 1, eff. September 1, 2011.|