reglab/housing_qa huggingface dataset:
IA Code § 821.3 (2021)
2021 Iowa Code|Title XVI - CRIMINAL LAW AND PROCEDURE|Chapter 821 - AGREEMENT ON DETAINERS COMPACT|Section 821.3 - Cooperation.

821.3 Cooperation.   All courts, departments, agencies, officers, and employees of this state and its political subdivisions are hereby directed to enforce the agreement on detainers and to cooperate with one another and with other party states in enforcing the agreement and effectuating its purpose.  [C66, 71, 73, 75, 77, §759A.3; C79, 81, §821.3]
IA Code § 821.4 (2021)
2021 Iowa Code|Title XVI - CRIMINAL LAW AND PROCEDURE|Chapter 821 - AGREEMENT ON DETAINERS COMPACT|Section 821.4 - Habitual criminals.

821.4 Habitual criminals.   Nothing in this chapter or in the agreement on detainers shall be construed to require the application of section 902.8 to any person on account of any conviction had in a proceeding brought to final disposition by reason of the use of this agreement.  [C66, 71, 73, 75, 77, §759A.4; C79, 81, §821.4]
IA Code § 821.5 (2021)
2021 Iowa Code|Title XVI - CRIMINAL LAW AND PROCEDURE|Chapter 821 - AGREEMENT ON DETAINERS COMPACT|Section 821.5 - Escape in another state.

821.5 Escape in another state.   Escape from custody while in another state, pursuant to this agreement on detainers shall constitute an offense against the laws of this state to the same extent and degree as an escape from the institution in which the prisoner was confined immediately prior to having been sent to another state pursuant to the provisions of the agreement on detainers and shall be punishable in the same manner as an escape from said institution.  [C66, 71, 73, 75, 77, §759A.5; C79, 81, §821.5]
IA Code § 821.6 (2021)
2021 Iowa Code|Title XVI - CRIMINAL LAW AND PROCEDURE|Chapter 821 - AGREEMENT ON DETAINERS COMPACT|Section 821.6 - Transfer of custody.

821.6 Transfer of custody.   It shall be lawful and mandatory upon the warden or other official in charge of a penal or correctional institution in this state to give over the person of any inmate thereof whenever so required by the operation of the agreement on detainers.  [C66, 71, 73, 75, 77, §759A.6; C79, 81, §821.6]
IA Code § 821.7 (2021)
2021 Iowa Code|Title XVI - CRIMINAL LAW AND PROCEDURE|Chapter 821 - AGREEMENT ON DETAINERS COMPACT|Section 821.7 - Detainer administrator.

821.7 Detainer administrator.   Pursuant to the agreement on detainers, the governor is hereby authorized to designate an officer or alternate who shall be the central administrator of and information agent for the agreement on detainers and who, acting jointly with like officers of other party states, shall have power to formulate rules and regulations to carry out more effectively the terms of the agreement, and shall serve subject to the pleasure of the governor.  [C66, 71, 73, 75, 77, §759A.7; C79, 81, §821.7]
IA Code § 821.8 (2021)
2021 Iowa Code|Title XVI - CRIMINAL LAW AND PROCEDURE|Chapter 821 - AGREEMENT ON DETAINERS COMPACT|Section 821.8 - Copies of law transmitted.

821.8 Copies of law transmitted.   Copies of this chapter shall, upon its approval, be transmitted to the governor of each state, the attorney general, and the administrator of general services of the United States, and the council of state governments.  [C66, 71, 73, 75, 77, §759A.8; C79, 81, §821.8]
IA Code § 822.1 (2021)
2021 Iowa Code|Title XVI - CRIMINAL LAW AND PROCEDURE|Chapter 822 - POSTCONVICTION PROCEDURE|Section 822.1 - Statutes not applicable to convicted persons.

822.1 Statutes not applicable to convicted persons.   The provisions of sections 663.1 through 663.44, inclusive, shall not apply to persons convicted of, or sentenced for, a public offense.  [C71, 73, 75, 77, 79, 81, §663A.1]  C93, §822.1
IA Code § 822.2 (2021)
2021 Iowa Code|Title XVI - CRIMINAL LAW AND PROCEDURE|Chapter 822 - POSTCONVICTION PROCEDURE|Section 822.2 - Situations where law applicable.

822.2 Situations where law applicable.   1. Any person who has been convicted of, or sentenced for, a public offense and who claims any of the following may institute, without paying a filing fee, a proceeding under this chapter to secure relief:   a. The conviction or sentence was in violation of the Constitution of the United States or the Constitution or laws of this state.   b. The court was without jurisdiction to impose sentence.   c. The sentence exceeds the maximum authorized by law.   d. There exists evidence of material facts, not previously presented and heard, that requires vacation of the conviction or sentence in the interest of justice.   e. The person’s sentence has expired, or probation, parole, or conditional release has been unlawfully revoked, or the person is otherwise unlawfully held in custody or other restraint.   f. The person’s reduction of sentence pursuant to sections 903A.1 through 903A.7 has been unlawfully forfeited and the person has exhausted the appeal procedure of section 903A.3, subsection 2.   g. The conviction or sentence is otherwise subject to collateral attack upon any ground of alleged error formerly available under any common law, statutory or other writ, motion, petition, proceeding, or remedy, except alleged error relating to restitution, court costs, or fees under section 904.702 or chapter 815 or 910.   h. The results of DNA profiling ordered pursuant to an application filed under section 81.10 would have changed the outcome of the trial or voided the factual basis of a guilty plea had the profiling been conducted prior to the conviction.   2. This remedy is not a substitute for nor does it affect any remedy, incident to the proceedings in the trial court, or of direct review of the sentence or conviction. Except as otherwise provided in this chapter, it comprehends and takes the place of all other common law, statutory, or other remedies formerly available for challenging the validity of the conviction or sentence. It shall be used exclusively in place of them.  [C71, 73, 75, 77, 79, 81, §663A.2; 81 Acts, ch 198, §1, 2]  83 Acts, ch 147, §10, 14; 86 Acts, ch 1075, §3  C93, §822.2  2006 Acts, ch 1010, §162; 2019 Acts, ch 149, §7  Referred to in §822.3, 822.3A, 822.5, 822.7, 822.9
IA Code § 822.3 (2021)
2021 Iowa Code|Title XVI - CRIMINAL LAW AND PROCEDURE|Chapter 822 - POSTCONVICTION PROCEDURE|Section 822.3 - How to commence proceeding — limitation.

822.3 How to commence proceeding — limitation.   A proceeding is commenced by filing an application verified by the applicant with the clerk of the district court in which the conviction or sentence took place. However, if the applicant is seeking relief under section 822.2, subsection 1, paragraph “f”, the application shall be filed with the clerk of the district court of the county in which the applicant is being confined within ninety days from the date the disciplinary decision is final. All other applications must be filed within three years from the date the conviction or decision is final or, in the event of an appeal, from the date the writ of procedendo is issued. However, this limitation does not apply to a ground of fact or law that could not have been raised within the applicable time period. For purposes of this section, a ground of fact includes the results of DNA profiling ordered pursuant to an application filed under section 81.10. An allegation of ineffective assistance of counsel in a prior case under this chapter shall not toll or extend the limitation periods in this section nor shall such claim relate back to a prior filing to avoid the application of the limitation periods. Facts within the personal knowledge of the applicant and the authenticity of all documents and exhibits included in or attached to the application must be sworn to affirmatively as true and correct. The supreme court may prescribe the form of the application and verification. The clerk shall docket the application upon its receipt and promptly bring it to the attention of the court and deliver a copy to the county attorney and the attorney general.  [C71, 73, 75, 77, 79, 81, §663A.3]  84 Acts, ch 1193, §1; 89 Acts, ch 96, §1  C93, §822.3  2006 Acts, ch 1010, §163; 2019 Acts, ch 140, §34; 2019 Acts, ch 149, §8  Referred to in §602.8102(115), 822.4
IA Code § 822.3A (2021)
2021 Iowa Code|Title XVI - CRIMINAL LAW AND PROCEDURE|Chapter 822 - POSTCONVICTION PROCEDURE|Section 822.3A - Pro se filings by applicants currently represented by counsel.

822.3A Pro se filings by applicants currently represented by counsel.   1. An applicant seeking relief under section 822.2 who is currently represented by counsel shall not file any pro se document, including an application, brief, reply brief, or motion, in any Iowa court. The court shall not consider, and opposing counsel shall not respond to, such pro se filings.   2. This section does not prohibit an applicant for postconviction relief from proceeding without the assistance of counsel.   3. A represented applicant for postconviction relief may file a pro se motion seeking disqualification of counsel, which a court may grant upon a showing of good cause.  2019 Acts, ch 140, §35  See also §814.6A
IA Code § 822.4 (2021)
2021 Iowa Code|Title XVI - CRIMINAL LAW AND PROCEDURE|Chapter 822 - POSTCONVICTION PROCEDURE|Section 822.4 - Facts to be presented.

822.4 Facts to be presented.   The application shall identify the proceedings in which the applicant was convicted, give the date of the entry of the judgment of conviction or sentence complained of, specifically set forth the grounds upon which the application is based, and clearly state the relief desired. Facts within the personal knowledge of the applicant shall be set forth separately from other allegations of facts and shall be verified as provided in section 822.3. Affidavits, records, or other evidence supporting its allegations shall be attached to the application or the application shall recite why they are not attached. The application shall identify all previous proceedings, together with the grounds therein asserted, taken by the applicant to secure relief from the conviction or sentence. Argument, citations, and discussion of authorities are unnecessary.  [C71, 73, 75, 77, 79, 81, §663A.4]  C93, §822.4
IA Code § 822.5 (2021)
2021 Iowa Code|Title XVI - CRIMINAL LAW AND PROCEDURE|Chapter 822 - POSTCONVICTION PROCEDURE|Section 822.5 - Payment of costs.

822.5 Payment of costs.   If the applicant is unable to pay court costs and stenographic and printing expenses, these costs and expenses shall be made available to the applicant in the trial court, and on review. Unless the applicant is confined in a state institution and is seeking relief under section 822.2, subsection 1, paragraphs “e” and “f”, the costs and expenses of legal representation shall also be made available to the applicant in the preparation of the application, in the trial court, and on review if the applicant is unable to pay. However, nothing in this section shall be interpreted to require payment of expenses of legal representation, including stenographic, printing, or other legal services or consultation, when the applicant is self-represented or is utilizing the services of an inmate.  [C71, 73, 75, 77, 79, 81, §663A.5; 82 Acts, ch 1108, §1]  91 Acts, ch 219, §18  C93, §822.5  98 Acts, ch 1016, §1, 3; 98 Acts, ch 1132, §1; 2006 Acts, ch 1010, §164  Referred to in §610A.1
IA Code § 822.6 (2021)
2021 Iowa Code|Title XVI - CRIMINAL LAW AND PROCEDURE|Chapter 822 - POSTCONVICTION PROCEDURE|Section 822.6 - Determination of relief.

822.6 Determination of relief.   1. Within thirty days after the docketing of the application, or within any further time the court may fix, the state shall respond by answer or by motion which may be supported by affidavits. At any time prior to entry of judgment the court may grant leave to withdraw the application. The court may make appropriate orders for amendment of the application or any pleading or motion, for pleading over, for filing further pleadings or motions, or for extending the time of the filing of any pleading. In considering the application the court shall take account of substance regardless of defects of form.   2. When a court is satisfied, on the basis of the application, the answer or motion, and the record, that the applicant is not entitled to postconviction relief and no purpose would be served by any further proceedings, the court may indicate to the parties its intention to dismiss the application and the reasons for dismissal. The applicant shall be given an opportunity to reply to the proposed dismissal. In light of the reply, or on default thereof, the court may order the application dismissed or grant leave to file an amended application or direct that the proceedings otherwise continue. Disposition on the pleadings and record is not proper if a material issue of fact exists.   3. The court may grant a motion by either party for summary disposition of the application, when it appears from the pleadings, depositions, answers to interrogatories, and admissions and agreements of fact, together with any affidavits submitted, that there is no genuine issue of material fact and the moving party is entitled to judgment as a matter of law.  [C71, 73, 75, 77, 79, 81, §663A.6]  C93, §822.6  2018 Acts, ch 1041, §127; 2019 Acts, ch 24, §95; 2019 Acts, ch 45, §1; 2019 Acts, ch 140, §36
IA Code § 822.6A (2021)
2021 Iowa Code|Title XVI - CRIMINAL LAW AND PROCEDURE|Chapter 822 - POSTCONVICTION PROCEDURE|Section 822.6A - Underlying trial court record part of application.

822.6A Underlying trial court record part of application.   The underlying trial court record containing the conviction for which an applicant seeks postconviction relief, as well as the court file containing any previous application filed by the applicant relating to the same conviction, shall automatically become part of the record in a claim for postconviction relief under this chapter.  2019 Acts, ch 45, §2
IA Code § 822.6B (2021)
2021 Iowa Code|Title XVI - CRIMINAL LAW AND PROCEDURE|Chapter 822 - POSTCONVICTION PROCEDURE|Section 822.6B - Electronic access to trial court records.

822.6B Electronic access to trial court records.   1. Upon the filing of an application, the clerk of the district court shall make the underlying trial court record accessible to the applicant’s attorney, the county attorney, and the attorney general, without the necessity of a court order. If the underlying trial court record is not available in electronic format, the clerk of the district court shall convert the record to an electronic format and make the record available to the applicant’s attorney, the county attorney, and the attorney general, without the necessity of a court order.   2. Upon request by an attorney of record, the clerk of the district court shall make the court file containing any previous application filed by the applicant relating to the same conviction accessible to the applicant’s attorney, the county attorney, and the attorney general, without the necessity of a court order. If the court file containing any previous application is not available in an electronic format, the clerk of the district court shall convert the court file containing any previous application to an electronic format and make the court file containing any previous application available to the applicant’s attorney, the county attorney, and the attorney general, without the necessity of a court order.  2019 Acts, ch 45, §3
IA Code § 822.6C (2021)
2021 Iowa Code|Title XVI - CRIMINAL LAW AND PROCEDURE|Chapter 822 - POSTCONVICTION PROCEDURE|Section 822.6C - Associated costs.

822.6C Associated costs.   Costs shall not be charged to the applicant, the applicant’s attorney, the county attorney, or the attorney general for converting a court file to an electronic format or for otherwise providing access to a court file under this chapter.  2019 Acts, ch 45, §4
IA Code § 822.7 (2021)
2021 Iowa Code|Title XVI - CRIMINAL LAW AND PROCEDURE|Chapter 822 - POSTCONVICTION PROCEDURE|Section 822.7 - Court to hear application.

822.7 Court to hear application.   The application shall be heard in, and before any judge of the court in which the conviction or sentence took place. However, if the applicant is seeking relief under section 822.2, subsection 1, paragraph “f”, the application shall be heard in, and before any judge of the court of the county in which the applicant is being confined. A record of the proceedings shall be made and preserved. All rules and statutes applicable in civil proceedings including pretrial and discovery procedures are available to the parties. The court may receive proof of affidavits, depositions, oral testimony, or other evidence, and may order the applicant brought before it for the hearing. If the court finds in favor of the applicant, it shall enter an appropriate order with respect to the conviction or sentence in the former proceedings, and any supplementary orders as to rearraignment, retrial, custody, bail, discharge, correction of sentence, or other matters that may be necessary and proper. The court shall make specific findings of fact, and state expressly its conclusions of law, relating to each issue presented. This order is a final judgment.  [C71, 73, 75, 77, 79, 81, §663A.7; 81 Acts, ch 198, §3]  C93, §822.7  2006 Acts, ch 1010, §165
IA Code § 822.8 (2021)
2021 Iowa Code|Title XVI - CRIMINAL LAW AND PROCEDURE|Chapter 822 - POSTCONVICTION PROCEDURE|Section 822.8 - Grounds must be all-inclusive.

822.8 Grounds must be all-inclusive.   All grounds for relief available to an applicant under this chapter must be raised in the applicant’s original, supplemental or amended application. Any ground finally adjudicated or not raised, or knowingly, voluntarily, and intelligently waived in the proceeding that resulted in the conviction or sentence, or in any other proceeding the applicant has taken to secure relief, may not be the basis for a subsequent application, unless the court finds a ground for relief asserted which for sufficient reason was not asserted or was inadequately raised in the original, supplemental, or amended application.  [C71, 73, 75, 77, 79, 81, §663A.8]  C93, §822.8
IA Code § 822.9 (2021)
2021 Iowa Code|Title XVI - CRIMINAL LAW AND PROCEDURE|Chapter 822 - POSTCONVICTION PROCEDURE|Section 822.9 - Appeal.

822.9 Appeal.   An appeal from a final judgment entered under this chapter may be taken, perfected, and prosecuted either by the applicant or by the state in the manner and within the time after judgment as provided in the rules of appellate procedure for appeals from final judgments in criminal cases. However, if a party is seeking an appeal under section 822.2, subsection 1, paragraph “f”, the appeal shall be by writ of certiorari.  [C71, 73, 75, 77, 79, 81, §663A.9]  85 Acts, ch 157, §3; 90 Acts, ch 1043, §1; 92 Acts, ch 1212, §38  C93, §822.9  96 Acts, ch 1018, §1; 2006 Acts, ch 1010, §166
IA Code § 822.10 (2021)
2021 Iowa Code|Title XVI - CRIMINAL LAW AND PROCEDURE|Chapter 822 - POSTCONVICTION PROCEDURE|Section 822.10 - Rule of construction.

822.10 Rule of construction.   This chapter shall be so interpreted and construed as to effectuate its general purpose to make uniform the law of those states which enact it.  [C71, 73, 75, 77, 79, 81, §663A.10]  C93, §822.10
IA Code § 822.11 (2021)
2021 Iowa Code|Title XVI - CRIMINAL LAW AND PROCEDURE|Chapter 822 - POSTCONVICTION PROCEDURE|Section 822.11 - Citation.

822.11 Citation.   This chapter may be cited as the “Uniform Postconviction Procedure Act”.  [C71, 73, 75, 77, 79, 81, §663A.11]  C93, §822.11
IA Code § 901.1 (2021)
2021 Iowa Code|Title XVI - CRIMINAL LAW AND PROCEDURE|Chapter 901 - JUDGMENT AND SENTENCING PROCEDURES|Section 901.1 - Short title.

901.1 Short title.   Chapters 901 to 909 shall be known and may be cited as the “Iowa Corrections Code”.  [C79, 81, §901.1]  94 Acts, ch 1023, §71
IA Code § 901.3 (2021)
2021 Iowa Code|Title XVI - CRIMINAL LAW AND PROCEDURE|Chapter 901 - JUDGMENT AND SENTENCING PROCEDURES|Section 901.3 - Presentence investigation report.

901.3 Presentence investigation report.   1. If a presentence investigation is ordered by the court, the investigator shall promptly inquire into all of the following:   a. The defendant’s characteristics, family and financial circumstances, needs, and potentialities.   b. The defendant’s criminal record and social history.   c. The circumstances of the offense.   d. The time the defendant has been in detention.   e. The harm to the victim, the victim’s immediate family, and the community. Additionally, the presentence investigator shall provide a victim impact statement form to each victim, if one has not already been provided, and shall file the completed statement or statements with the presentence investigation report.   f. The defendant’s potential as a candidate for the community service sentence program established pursuant to section 907.13.   g. Any mitigating circumstances relating to the offense and the defendant’s potential as a candidate for deferred judgment, deferred sentencing, a suspended sentence, or probation, if the defendant is charged with or convicted of assisting suicide pursuant to section 707A.2.   h. Whether the defendant has a history of mental health or substance abuse problems. If so, the investigator shall inquire into the treatment options available in both the community of the defendant and the correctional system.   2. All local and state mental and correctional institutions, courts, and police agencies shall furnish to the investigator on request the defendant’s criminal record and other relevant information. The originating source of specific mental health or substance abuse information including the histories, treatment, and use of medications shall not be released to the presentence investigator unless the defendant authorizes the release of such information. If the defendant refuses to release the information, the presentence investigator may note the defendant’s refusal to release mental health or substance abuse information in the presentence investigation report and rely upon other mental health or substance abuse information available to the presentence investigator. With the approval of the court, a physical examination or psychiatric evaluation of the defendant may be ordered, or the defendant may be committed to an inpatient or outpatient psychiatric facility for an evaluation of the defendant’s personality and mental health. The results of any such examination or evaluation shall be included in the report of the investigator.  [C75, 77, §789A.4; C79, 81, §901.3; 82 Acts, ch 1069, §1]  86 Acts, ch 1178, §2; 90 Acts, ch 1251, §63; 91 Acts, ch 219, §23; 96 Acts, ch 1002, §4; 2011 Acts, ch 7, §1 – 3; 2013 Acts, ch 30, §222  Referred to in §901.2