reglab/housing_qa huggingface dataset:
AL Code § 15-20A-46 (2021)
2021 Code of Alabama|Title 15 - Criminal Procedure.|Chapter 20A - Alabama Sex Offender Registration and Community Notification Act.|Section 15-20A-46 - Disposition of Funds.

Section 15-20A-46Disposition of funds. (a) The two hundred dollar ($200) filing fee paid by a sex offender who petitions the court for relief pursuant to Sections 15-20A-16, 15-20A-23, 15-20A-24, 15-20A-25, or 15-20A-34 shall be distributed as follows: (1) Fifty dollars ($50) to the Circuit Clerk's Restitution Recovery Fund. (2) Fifty dollars ($50) to the sheriff of the county subject to the following: a. Any and all monies collected under this subdivision shall be deposited in the county general fund earmarked for use by the sheriff and shall be paid to the sheriff upon request by the sheriff to be used at the discretion of the sheriff for any law enforcement purpose related to sex offender registration, notification, tracking, or apprehension. b. The monies provided in this subdivision and the use of the funds shall in no way diminish or take the place of any other reimbursement or other source of income established for the sheriff or the operation of his or her office. (3) Fifty dollars ($50) to the District Attorney's Fund or the fund prescribed by law for district attorney fees. (4) Fifty dollars ($50) to Alabama Network of Children's Advocacy Centers. (b) The filing fee shall not be remitted. (Act 2011-640, p. 1569, §46; Act 2015-463, §1.)
AL Code § 15-20A-47 (2021)
2021 Code of Alabama|Title 15 - Criminal Procedure.|Chapter 20A - Alabama Sex Offender Registration and Community Notification Act.|Section 15-20A-47 - Construction.

Section 15-20A-47Construction.  Nothing in this chapter shall be construed as creating a cause of action against the state or any of its agencies, officials, employees, or political subdivisions based on the performance of any duty imposed by this chapter or the failure to perform any duty imposed by this chapter. (Act 2011-640, p. 1569, §47.)
AL Code § 15-20A-48 (2021)
2021 Code of Alabama|Title 15 - Criminal Procedure.|Chapter 20A - Alabama Sex Offender Registration and Community Notification Act.|Section 15-20A-48 - Relation to Other Laws.

Section 15-20A-48Relation to other laws.  (a) For the purposes of Sections 13A-5-2, 13A-5-6, 14-9-41, 15-18-8, 15-22-27.3, or any other section of the Code of Alabama 1975, a criminal sex offense involving a child shall mean a conviction for any sex offense in which the victim was a child under the age of 12 or any offense involving child pornography. (b) For the purpose of Section 12-15-107(a)(7), a juvenile probation officer shall notify the state and either the parent, legal guardian, or legal custodian of a juvenile sex offender, or the child's attorney for the juvenile sex offender, of the pending release of the sex offender and provide them with a copy of the risk assessment pursuant to subsection (c) of Section 15-20A-26. (c) For the purpose of Section 12-15-116(a)(5), a juvenile court shall have exclusive original jurisdiction to try any individual who is 18 years of age or older and violates any of the juvenile criminal sex offender provisions of subdivision (1) of subsection (b) of Section 15-20A-27. (d) For the purpose of Section 13A-5-6(c), an offender is designated a sexually violent predator pursuant to Section 15-20A-19. (e) For the purpose of Sections 36-18-24(b)(6) and 36-18-25(c)(1), sexual offenses shall include, but not be limited to, those offenses pursuant to Section 15-20A-5. (f) For the purpose of Section 32-6-49.24, a person who is registered as a sex offender or convicted of a crime that requires registration as a sex offender is a person who is required to register as a sex offender pursuant to this chapter. A crime or offense that requires registration as a sex offender shall include, but not be limited to, those offenses pursuant to Section 15-20A-5. (g) For the purpose of Sections 38-13-2 and 38-13-4, a sex crime shall also include any offense listed in this chapter pursuant to Section 15-20A-5. (Act 2011-640, p. 1569, §48.)
AL Code § 15-21-1 (2021)
2021 Code of Alabama|Title 15 - Criminal Procedure.|Chapter 21 - Habeas Corpus.|Section 15-21-1 - Persons Entitled to Prosecute Writ - Generally.

Section 15-21-1Persons entitled to prosecute writ - Generally. Any person who is imprisoned or restrained of his liberty in the State of Alabama on any criminal charge or accusation or under any other pretense whatever, except persons committed or detained by virtue of process issued by a court of the United States or by a judge thereof in cases of which such courts have exclusive jurisdiction under the laws of the United States or have acquired exclusive jurisdiction by the commencement of actions in such courts, may prosecute a writ of habeas corpus according to the provisions of this chapter to inquire into the cause of such imprisonment or restraint. (Code 1852, §709; Code 1867, §4260; Code 1876, §4936; Code 1886, §4761; Code 1896, §4812; Code 1907, §7007; Code 1923, §4305; Code 1940, T. 15, §1.)
AL Code § 15-21-2 (2021)
2021 Code of Alabama|Title 15 - Criminal Procedure.|Chapter 21 - Habeas Corpus.|Section 15-21-2 - Persons Entitled to Prosecute Writ - Persons Confined for Failure to Enter Into Undertaking to Keep the Peace.

Section 15-21-2Persons entitled to prosecute writ - Persons confined for failure to enter into undertaking to keep the peace. Any person confined in jail for failing to enter into an undertaking to keep the peace may prosecute a writ of habeas corpus as provided in this chapter; but such writ can be heard only by a judge of the circuit court, who may discharge the applicant, remand him to jail or reduce the amount of the undertaking as may seem right. If the amount of the undertaking is reduced, the sheriff must discharge the applicant upon the entering into the undertaking in the sum fixed by such judge. (Code 1896, §4813; Code 1907, §7008; Code 1923, §4306; Code 1940, T. 15, §2.)
AL Code § 15-21-3 (2021)
2021 Code of Alabama|Title 15 - Criminal Procedure.|Chapter 21 - Habeas Corpus.|Section 15-21-3 - Persons Entitled to Prosecute Writ - Persons Confined as Insane.

Section 15-21-3Persons entitled to prosecute writ - Persons confined as insane. Any person confined as insane may prosecute a writ of habeas corpus as provided in this chapter; and, if the judge or the jury, when the petitioner demands the issues arising to be tried by a jury, shall decide at the hearing that the person is insane, such decision does not bar a second application alleging that such person has been restored to sanity. (Code 1897, §4814; Code 1907, §7009; Code 1923, §4307; Code 1940, T. 15, §3.)
AL Code § 15-21-4 (2021)
2021 Code of Alabama|Title 15 - Criminal Procedure.|Chapter 21 - Habeas Corpus.|Section 15-21-4 - Application to Be Made by Petition; Contents of Petition.

Section 15-21-4Application to be made by petition; contents of petition. Application for a writ of habeas corpus must be made by petition, signed either by the party himself for whose benefit it is intended or by some other person on his behalf, must be verified by the oath of the applicant to the effect that the statements therein contained are true to the best of his knowledge, information and belief and must state, in substance, the name of the person on whose behalf the application is made, that he is imprisoned or restrained of his liberty in the county, the place of such imprisonment, if known, the name of the officer or person by whom he is so imprisoned and the cause or pretense of such imprisonment; and, if the imprisonment is by virtue of any warrant, writ or other process, a copy thereof must be annexed to the petition or the petition must allege that a copy thereof has been demanded and refused or must show some sufficient excuse for the failure to demand a copy. (Code 1852, §§710, 711; Code 1867, §§4261, 4262; Code 1876, §§4937, 4938; Code 1886, §4762; Code 1896, §4815; Code 1907, §7010; Code 1923, §4308; Code 1940, T. 15, §4.)
AL Code § 15-21-5 (2021)
2021 Code of Alabama|Title 15 - Criminal Procedure.|Chapter 21 - Habeas Corpus.|Section 15-21-5 - Description of Party if Name Uncertain or Unknown.

Section 15-21-5Description of party if name uncertain or unknown. If the name of the person on whose behalf an application for a writ of habeas corpus is made or the officer or person by whom he is imprisoned or detained is uncertain or unknown, he may be described in any way that is sufficient to identify him. (Code 1852, §712; Code 1867, §4263; Code 1876, §4939; Code 1886, §4763; Code 1896, §4816; Code 1907, §7011; Code 1923, §4309; Code 1940, T. 15, §5.)
AL Code § 15-21-6 (2021)
2021 Code of Alabama|Title 15 - Criminal Procedure.|Chapter 21 - Habeas Corpus.|Section 15-21-6 - To Whom Petition Addressed.

Section 15-21-6To whom petition addressed. (a) When the person is confined in a county jail or any other place on a charge of felony or under a commitment or an indictment for felony, the petition for a writ of habeas corpus must be addressed to the nearest circuit court judge. (b) When the person is confined in the penitentiary or under a sentence, judgment or order of the supreme court or the circuit court, other than an indictment for felony, the petition must be addressed to the nearest circuit court judge. (c) In all other cases, it may be addressed to any one of them, and when the person is confined in any other place than the county jail or the penitentiary and on any other than a criminal charge, it may be addressed to any circuit court judge. (Code 1852, §713; Code 1867, §4264; Code 1876, §4940; Code 1886, §4764; Code 1896, §4817; Code 1907, §7012; Code 1923, §4310; Code 1940, T. 15, §6.)
AL Code § 15-21-7 (2021)
2021 Code of Alabama|Title 15 - Criminal Procedure.|Chapter 21 - Habeas Corpus.|Section 15-21-7 - When Petition May Be Addressed to Another Judge; Justifying Proof Required; Ouster of Jurisdiction of Nearest Judge.

Section 15-21-7When petition may be addressed to another judge; justifying proof required; ouster of jurisdiction of nearest judge. (a) When the petition for a writ of habeas corpus is required to be addressed to the nearest circuit court judge and such judge is absent, is incapable of acting, has refused to grant the writ, has refused to grant the writ returnable within five days or has granted the writ returnable in five days but has failed or refused to rule therein within five days from the return date, it may be addressed to any other circuit court judge. In such case, before the writ is granted, proof must be made, either by the oath of the applicant or other sufficient evidence, of the particular facts which justify such address. (b) The jurisdiction of the nearest circuit court judge shall be ousted when the petition is filed with any other circuit court judge. (Code 1852, §714; Code 1867, §4265; Code 1876, §4941; Code 1886, §4765; Code 1896, §4818; Code 1907, §7013; Code 1923, §4311; Code 1940, T. 15, §7; Acts 1951, No. 925, p. 1574.)
AL Code § 15-21-8 (2021)
2021 Code of Alabama|Title 15 - Criminal Procedure.|Chapter 21 - Habeas Corpus.|Section 15-21-8 - Writ to Be Granted Without Delay; to Whom Writ Returnable.

Section 15-21-8Writ to be granted without delay; to whom writ returnable. (a) The judge to whom the application for a writ of habeas corpus is made must grant the same without delay, unless it appears from the petition itself or from the documents thereunto annexed that the person imprisoned or restrained is not entitled to the benefit of the writ under the provisions of this chapter. (b) When the person is confined in the penitentiary, the writ must be made returnable before the circuit court of the county in which the convict is confined, but if the writ is granted more than 10 days before the time fixed for the holding of such court, it must be made returnable before the nearest circuit court judge. When a person is a patient or confined in any hospital in the state, the writ must be made returnable before the circuit court of the county in which the hospital is located in which he is so confined. In all other cases, the writ must be made returnable before the officer by whom it is granted. (Code 1852, §713; Code 1867, §4266; Code 1876, §4942; Code 1886, §4766; Code 1896, §4819; Code 1907, §7014; Code 1923, §4312; Code 1940, T. 15, §8.)
AL Code § 15-21-9 (2021)
2021 Code of Alabama|Title 15 - Criminal Procedure.|Chapter 21 - Habeas Corpus.|Section 15-21-9 - Form of Writ.

Section 15-21-9Form of writ. A writ of habeas corpus may be, in substance, as follows: The State of Alabama,) _________ County.) To the sheriff of _______ County (or other person by whom the party is imprisoned or restrained): You are hereby commanded to have the body of A. B. alleged to be detained by you, by whatsoever name the said A. B. is called or charged, with the cause of such detention, before C. D., judge of the circuit court (or other officer, as required by Section 15-21-8), on _____ at _____ (specifying the time and place, or immediately after the receipt of this writ, as the case may be), to do and receive what shall then and there be considered concerning the said A. B. Dated this ____ day of _____, 20___.(Signed by the officer, with his official title.)  (Code 1852, §716; Code 1867, §4267; Code 1876, §4943; Code 1886, §4767; Code 1896, §4820; Code 1907, §7015; Code 1923, §4313; Code 1940, T. 15, §9.)
AL Code § 15-21-10 (2021)
2021 Code of Alabama|Title 15 - Criminal Procedure.|Chapter 21 - Habeas Corpus.|Section 15-21-10 - Writ Not to Be Disobeyed for Want of Form or Misdescription; Writ Presumed Addressed to Recipient.

Section 15-21-10Writ not to be disobeyed for want of form or misdescription; writ presumed addressed to recipient. A writ of habeas corpus must not be disobeyed on account of any want of form or any misdescription of the person to whom it is addressed, and it must be presumed to have been addressed to the person on whom it is served, notwithstanding any mistake in the name or address. (Code 1852, §717; Code 1867, §4268; Code 1876, §4944; Code 1886, §4768; Code 1896, §4821; Code 1907, §7016; Code 1923, §4314; Code 1940, T. 15, § 10.)
AL Code § 15-21-12 (2021)
2021 Code of Alabama|Title 15 - Criminal Procedure.|Chapter 21 - Habeas Corpus.|Section 15-21-12 - Notice to Any Other Person Having Interest Required.

Section 15-21-12Notice to any other person having interest required. If it appears from the petition for a writ of habeas corpus or from the documents thereunto annexed that the party is imprisoned or detained by virtue of any process under which any other person has an interest in continuing his imprisonment or restraint, the officer issuing the writ must endorse thereon an order requiring the applicant, or someone else for him, to give notice to such person, or to his attorney, of the issue of the writ and of the time and place at which it is returnable, in order that he may, if he thinks proper, appear and object to the discharge of the party who is imprisoned. If such notice is not given, when the party who is entitled to it is within 50 miles of the place of examination, the party who is imprisoned must not be discharged. (Code 1852, §718; Code 1867, §4269; Code 1876, §4945; Code 1886, §4769; Code 1896, §4822; Code 1907, §7017; Code 1923, §4316; Code 1940, T. 15, §12.)
AL Code § 15-21-13 (2021)
2021 Code of Alabama|Title 15 - Criminal Procedure.|Chapter 21 - Habeas Corpus.|Section 15-21-13 - Notice to District Attorney, Prosecutor or Arrestor Required When Criminal Charge; Bail Without Notice.

Section 15-21-13Notice to district attorney, prosecutor or arrestor required when criminal charge; bail without notice. If it appears from the petition for a writ of habeas corpus or from the documents thereunto annexed that the party is imprisoned and detained on any criminal charge or accusation, the officer issuing the writ must endorse thereon an order requiring the applicant, or someone else for him, to give notice to the district attorney of the circuit or to the prosecutor or principal agent in procuring the arrest of the issue of the writ and of the time and place at which it is returnable. If such notice is not given when the district attorney or other person entitled to it is within 50 miles of the place of examination, the party who is imprisoned must not be discharged. But, if the party is charged with an offense which is bailable and he waives an examination into the facts, the judge may fix the amount of bail, without notice to the district attorney or prosecutor, and in so doing, he must act on the presumption that the offense is of the highest grade. (Code 1852, §719; Code 1867, §4270; Code 1876, §4946; Code 1886, §4770; Code 1896, §4823; Code 1907, §7018; Code 1923, §4317; Code 1940, T. 15, §13.)
AL Code § 15-21-14 (2021)
2021 Code of Alabama|Title 15 - Criminal Procedure.|Chapter 21 - Habeas Corpus.|Section 15-21-14 - Issuance of Precept; Execution of Precept by Sheriff or Constable.

Section 15-21-14Issuance of precept; execution of precept by sheriff or constable. (a) At the time of issuing a writ of habeas corpus or at any time afterward before the hearing, the officer issuing the writ must, on a proper showing, issue a precept directed to any sheriff or constable of the state, commanding him to have the body of the person who is imprisoned or restrained produced before the officer before whom the writ is returnable at the time and place at which it is returnable. (b) Such precept must be executed by any sheriff or constable into whose hands it may come according to its mandate. (c) If the party is brought before the court or judge by virtue of a precept issued under the provisions of this section, the case must be heard and determined as if he had been produced in return to the writ. (Code 1852, §§720, 727; Code 1867, §§4271, 4278; Code 1876, §§4947, 4954; Code 1886, §§4771, 4778; Code 1896, §§4824, 4831; Code 1907, §§7019, 7026; Code 1923, §§4318, 4325; Code 1940, T. 15, §§14, 21.)
AL Code § 15-21-15 (2021)
2021 Code of Alabama|Title 15 - Criminal Procedure.|Chapter 21 - Habeas Corpus.|Section 15-21-15 - Subpoenas for Witnesses.

Section 15-21-15Subpoenas for witnesses. (a) On the application of either party, subpoenas for witnesses must be issued at any time before the hearing on a writ of habeas corpus by the clerk of the circuit court of the county to which the writ is returnable. (b) Such subpoenas must be directed to the sheriff or any constable of the county in which the witness resides and must be executed and returned as in other cases. (Code 1852, §721; Code 1867, §4272; Code 1876, §4948; Code 1886, §4772; Code 1896, §4823; Code 1907, §4319; Code 1923, §4319; Code 1940, T. 15, §15.)
AL Code § 15-21-16 (2021)
2021 Code of Alabama|Title 15 - Criminal Procedure.|Chapter 21 - Habeas Corpus.|Section 15-21-16 - Service of Writ.

Section 15-21-16Service of writ. A writ of habeas corpus must be served by the sheriff, deputy sheriff or some constable of the county in which it is issued or in which the person on whose behalf it issued out is imprisoned or detained, by delivering a copy to the person to whom it is directed and showing the original, if demanded. If such person cannot be found, conceals himself or refuses admittance to the officer, the writ may be served by leaving a copy at the place where the party is confined with any person of full age who, for the time being, has charge of the party or by posting it in a conspicuous place on the outside of the house or building in which the party is confined. (Code 1852, §722; Code 1867, §4273; Code 1876, §4949; Code 1886, §4773; Code 1896, §4826; Code 1907, §7021; Code 1923, §4320; Code 1940, T. 15, §16.)
AL Code § 15-21-17 (2021)
2021 Code of Alabama|Title 15 - Criminal Procedure.|Chapter 21 - Habeas Corpus.|Section 15-21-17 - When Return to Be Made; Form and Contents of Return.

Section 15-21-17When return to be made; form and contents of return. (a) After due service thereof, the person to whom a writ of habeas corpus is directed must make his return on the day therein specified if practicable; and, if no day is specified therein and the place to which the return is to be made is not more than 30 miles from the place where the party is imprisoned or detained, the return must be made within two days after service, but if more than 30 and less than 100 miles, within five days, and if over 100 miles, within eight days after service. (b) The return must be signed by the person making it and be verified by his oath, unless he is a sworn public officer and makes the return in his official capacity, and it must state, plainly and unequivocally whether or not he has the party in his custody or power or under his restraint and, if so, by what authority and the cause thereof, setting out the same fully, together with a copy of the writ, warrant or other written authority, if any; and, if he has had the party in his custody or power or under his restraint at any time before or after the date of the writ but has transferred such custody or restraint to another, the return must state to whom, at what time, for what cause and by what authority such transfer was made. (Code 1852, §§723, 724; Code 1867, §§4274, 4275; Code 1876, §§4950, 4951; Code 1886, §§4774, 4775; Code 1896, §§4827, 4828; Code 1907, §§7022, 7023; Code 1923, §§4321, 4322; Code 1940, T. 15, §§17, 18.)
AL Code § 15-21-18 (2021)
2021 Code of Alabama|Title 15 - Criminal Procedure.|Chapter 21 - Habeas Corpus.|Section 15-21-18 - Person and Original Detaining Warrant, Writ, etc., to Be Produced With Return; Exception.

Section 15-21-18Person and original detaining warrant, writ, etc., to be produced with return; exception. At the time of making the return, one must also produce the person on whose behalf the writ of habeas corpus was sued out, according to the command of the writ, and the original warrant, writ or other written authority under which he was detained; but, if from sickness or infirmity the party cannot be produced without danger, that fact must be stated in the return, verified by oath and, if required, established by other sufficient evidence. (Code 1852, §725; Code 1867, §4276; Code 1876, §4952; Code 1886, §4776; Code 1896, §4829; Code 1907, §7024; Code 1923, §4323; Code 1940, T. 15, §19.)
AL Code § 15-21-19 (2021)
2021 Code of Alabama|Title 15 - Criminal Procedure.|Chapter 21 - Habeas Corpus.|Section 15-21-19 - Proceedings When Person Not Produced on Account of Sickness or Infirmity.

Section 15-21-19Proceedings when person not produced on account of sickness or infirmity. When the party on whose behalf a writ of habeas corpus is sued out is not produced on account of sickness or infirmity, the court or judge before whom the writ is returnable may proceed to decide on the return as if the party had been produced if satisfied of such sickness or infirmity, may proceed to the place where he is imprisoned or detained and there make the examination or may adjourn the examination to another time. (Code 1852, §726; Code 1867, §4277; Code 1876, §4953; Code 1886, §4777; Code 1896, §4830; Code 1907, §7025; Code 1923, §4324; Code 1940, T. 15, §20.)