reglab/housing_qa huggingface dataset:
AL Code § 13A-2-6 (2021)
2021 Code of Alabama|Title 13A - Criminal Code.|Chapter 2 - Principles of Criminal Liability.|Article 1 - Culpability.|Section 13A-2-6 - Effect of Ignorance or Mistake Upon Liability.

Section 13A-2-6Effect of ignorance or mistake upon liability. (a) A person is not relieved of criminal liability for conduct because he engages in that conduct under a mistaken belief of fact unless: (1) His factual mistake negatives the culpable mental state required for the commission of an offense; or (2) The statute defining the offense or a statute related thereto expressly provides that such a factual mistake constitutes a defense or exemption; or (3) The factual mistake is of a kind that supports a defense of justification as defined in Article 2 of Chapter 3 of this title. (b) A person is not relieved of criminal liability for conduct because he engages in that conduct under a mistaken belief that it does not, as a matter of law, constitute an offense, unless his mistaken belief is founded upon an official statement of the law contained in a statute or the latest judicial decision of the highest state or federal court which has decided on the matter. (c) The burden of injecting the issue of mistake of law under subsection (b) of this section is on the defendant, but this does not shift the burden of proof. (d) A mistake of law, other than as to the existence or meaning of the statute under which the defendant is prosecuted, is relevant to disprove the specific state of mental culpability required by the statute under which the defendant is prosecuted. (Acts 1977, No. 607, p. 812, §325.)
AL Code § 13A-2-7 (2021)
2021 Code of Alabama|Title 13A - Criminal Code.|Chapter 2 - Principles of Criminal Liability.|Article 1 - Culpability.|Section 13A-2-7 - Consent.

Section 13A-2-7Consent. (a) In general. - The consent of the victim to conduct charged to constitute an offense or to the result thereof is a defense if such consent negatives a required element of the offense or precludes the infliction of the harm or evil sought to be prevented by the law defining the offense. (b) Consent to bodily harm. - When conduct is charged to constitute an offense because it causes or threatens bodily harm, consent to such conduct or to the infliction of such harm is a defense only if: (1) The bodily harm consented to or threatened by the conduct consented to is not serious; or (2) The conduct and the harm are reasonably foreseeable hazards of joint participation in a lawful athletic contest or competitive sport; or (3) The consent establishes a justification for the conduct under Article 2 of Chapter 3 of this title. (c) Ineffective consent. - Unless otherwise provided by this Criminal Code or by the law defining the offense, assent does not constitute consent if: (1) It is given by a person who is legally incompetent to authorize the conduct; or (2) It is given by a person who by reason of immaturity, mental disease or defect, or intoxication is manifestly unable and known by the actor to be unable to make a reasonable judgment as to the nature or harmfulness of the conduct; or (3) It is given by a person whose consent is sought to be prevented by the law defining the offense; or (4) It is induced by force, duress or deception. (Acts 1977, No. 607, p. 812, §330.)
AL Code § 13A-2-20 (2021)
2021 Code of Alabama|Title 13A - Criminal Code.|Chapter 2 - Principles of Criminal Liability.|Article 2 - Parties to Offenses.|Section 13A-2-20 - Criminal Liability Based Upon Behavior.

Section 13A-2-20Criminal liability based upon behavior. A person is criminally liable for an offense if it is committed by his own behavior or by the behavior of another person for which he is legally accountable as provided for in this article, or both. (Acts 1977, No. 607, p. 812, §401.)
AL Code § 13A-2-21 (2021)
2021 Code of Alabama|Title 13A - Criminal Code.|Chapter 2 - Principles of Criminal Liability.|Article 2 - Parties to Offenses.|Section 13A-2-21 - Criminal Liability Based Upon Behavior of Another - Accountability Imposed by Statute.

Section 13A-2-21Criminal liability based upon behavior of another - Accountability imposed by statute. A person is legally accountable for the behavior of another person if he is made accountable for the behavior of such person by the statute defining the offense or by specific provision of this title. (Acts 1977, No. 607, p. 812, §405.)
AL Code § 13A-2-22 (2021)
2021 Code of Alabama|Title 13A - Criminal Code.|Chapter 2 - Principles of Criminal Liability.|Article 2 - Parties to Offenses.|Section 13A-2-22 - Criminal Liability Based Upon Behavior of Another - Conduct of an Innocent Person.

Section 13A-2-22Criminal liability based upon behavior of another - Conduct of an innocent person. (a) A person is legally accountable for the behavior of another if, acting with the culpable mental state sufficient for the commission of the offense in question, he causes an innocent person to engage in such behavior. (b) As used in this section, an "innocent person" includes any person who is not guilty of the offense in question, despite his behavior, because of: (1) Criminal irresponsibility or other legal incapacity or exemption. (2) Unawareness of the criminal nature of the conduct in question or of the defendant's criminal purpose. (3) Any other factor precluding the mental state sufficient for the commission of the offense in question. (Acts 1977, No. 607, p. 812, §410.)
AL Code § 13A-2-23 (2021)
2021 Code of Alabama|Title 13A - Criminal Code.|Chapter 2 - Principles of Criminal Liability.|Article 2 - Parties to Offenses.|Section 13A-2-23 - Criminal Liability Based Upon Behavior of Another - Complicity.

Section 13A-2-23Criminal liability based upon behavior of another - Complicity. A person is legally accountable for the behavior of another constituting a criminal offense if, with the intent to promote or assist the commission of the offense: (1) He procures, induces or causes such other person to commit the offense; or (2) He aids or abets such other person in committing the offense; or (3) Having a legal duty to prevent the commission of the offense, he fails to make an effort he is legally required to make. (Acts 1977, No. 607, p. 812, §415.)
AL Code § 13A-2-24 (2021)
2021 Code of Alabama|Title 13A - Criminal Code.|Chapter 2 - Principles of Criminal Liability.|Article 2 - Parties to Offenses.|Section 13A-2-24 - Criminal Liability Based Upon Behavior of Another - Exceptions.

Section 13A-2-24Criminal liability based upon behavior of another - Exceptions. Unless otherwise provided by the statute defining the offense, a person shall not be legally accountable for behavior of another constituting a criminal offense if: (1) He is a victim of that offense; or (2) The offense is so defined that his conduct is inevitably incidental to its commission; or (3) Prior to the commission of the offense, he voluntarily terminated his effort to promote or assist its commission and either gave timely and adequate warning to law enforcement authorities, or to the intended victim, or wholly deprived his complicity of its effectiveness in the commission of the offense. The burden of injecting this issue is on the defendant, but this does not shift the burden of proof. (Acts 1977, No. 607, p. 812, §420.)
AL Code § 13A-2-25 (2021)
2021 Code of Alabama|Title 13A - Criminal Code.|Chapter 2 - Principles of Criminal Liability.|Article 2 - Parties to Offenses.|Section 13A-2-25 - Criminal Liability Based Upon Behavior of Another - Certain Defenses Not Available.

Section 13A-2-25Criminal liability based upon behavior of another - Certain defenses not available. In a prosecution for an offense in which criminal liability is based upon the behavior of another person pursuant to this article, it is no defense that: (1) Such other person has not been prosecuted for or convicted of any offense based upon the behavior in question, or has been previously acquitted thereof, or has been convicted of a different offense or degree of offense. (2) The defendant belongs to a class of persons who, by definition of the offense, are legally incapable of committing the offense in an individual capacity. (Acts 1977, No. 607, p. 812, §425.)
AL Code § 13A-2-26 (2021)
2021 Code of Alabama|Title 13A - Criminal Code.|Chapter 2 - Principles of Criminal Liability.|Article 2 - Parties to Offenses.|Section 13A-2-26 - Criminal Liability of an Individual for Corporate Conduct.

Section 13A-2-26Criminal liability of an individual for corporate conduct. A person is criminally liable for conduct constituting an offense which he performs or causes to be performed in the name of or in behalf of a corporation to the same extent as if such conduct were performed in his own name or behalf. (Acts 1977, No. 607, p. 812, §435.)
AL Code § 13A-3-1 (2021)
2021 Code of Alabama|Title 13A - Criminal Code.|Chapter 3 - Defenses.|Article 1 - Responsibility.|Section 13A-3-1 - Mental Disease or Defect.

Section 13A-3-1Mental disease or defect. (a) It is an affirmative defense to a prosecution for any crime that, at the time of the commission of the acts constituting the offense, the defendant, as a result of severe mental disease or defect, was unable to appreciate the nature and quality or wrongfulness of his acts. Mental disease or defect does not otherwise constitute a defense. (b) "Severe mental disease or defect" does not include an abnormality manifested only by repeated criminal or otherwise antisocial conduct. (c) The defendant has the burden of proving the defense of insanity by clear and convincing evidence. (Acts 1977, No. 607, p. 812, §501; Acts 1988, No. 88-654, p. 1051, §2.)
AL Code § 13A-3-2 (2021)
2021 Code of Alabama|Title 13A - Criminal Code.|Chapter 3 - Defenses.|Article 1 - Responsibility.|Section 13A-3-2 - Intoxication.

Section 13A-3-2Intoxication. (a) Intoxication is not a defense to a criminal charge, except as provided in subsection (c) of this section. However, intoxication, whether voluntary or involuntary, is admissible in evidence whenever it is relevant to negate an element of the offense charged. (b) When recklessness establishes an element of an offense and the actor is unaware of a risk because of voluntary intoxication, his unawareness is immaterial in a prosecution for that offense. (c) Involuntary intoxication is a defense to prosecution if as a result the actor lacks capacity either to appreciate the criminality of his conduct or to conform his conduct to the requirements of law. (d) Intoxication in itself does not constitute mental disease or defect within the meaning of Section 13A-3-1. (e) In this section: (1) "Intoxication" includes a disturbance of mental or physical capacities resulting from the introduction of any substance into the body. (2) "Voluntary intoxication" means intoxication caused by substances that the actor knowingly introduced into his body, the tendency of which to cause intoxication he knows or ought to know, unless he introduces them under circumstances that would afford a defense to a charge of crime. (Acts 1977, No. 607, p. 812, §505.)
AL Code § 13A-3-3 (2021)
2021 Code of Alabama|Title 13A - Criminal Code.|Chapter 3 - Defenses.|Article 1 - Responsibility.|Section 13A-3-3 - Immaturity.

Section 13A-3-3Immaturity. The prosecution of any person as an adult shall be barred if the offense was committed when the actor was less than 14 years old. (Acts 1977, No. 607, p. 812, §510.)
AL Code § 13A-3-20 (2021)
2021 Code of Alabama|Title 13A - Criminal Code.|Chapter 3 - Defenses.|Article 2 - Justification and Excuse.|Section 13A-3-20 - Definitions.

Section 13A-3-20Definitions. The following definitions are applicable to this article: (1) BUILDING. Any structure which may be entered and utilized by persons for business, public use, lodging, or the storage of goods, and includes any vehicle, aircraft, or watercraft used for the lodging of persons or carrying on business therein. Each unit of a building consisting of two or more units separately occupied or secured is a separate building. (2) DEADLY PHYSICAL FORCE. Force which, under the circumstances in which it is used, is readily capable of causing death or serious physical injury. (3) DWELLING. A building which is usually occupied by a person lodging therein at night, or a building of any kind, including any attached balcony, whether the building is temporary or permanent, mobile or immobile, which has a roof over it, and is designed to be occupied by people lodging therein at night. (4) FORCE. Physical action or threat against another, including confinement. (5) PREMISES. The term includes any building, as defined in this section, and any real property. (6) RESIDENCE. A dwelling in which a person resides either temporarily or permanently or is visiting as an invited guest. (7) VEHICLE. A motorized conveyance which is designed to transport people or property. (Acts 1977, No. 607, p. 812, §670; Act 2006-303, p. 638, §1.)
AL Code § 13A-3-21 (2021)
2021 Code of Alabama|Title 13A - Criminal Code.|Chapter 3 - Defenses.|Article 2 - Justification and Excuse.|Section 13A-3-21 - Basis for Defense Generally; Injury to Innocent Person Through Negligence; Civil Remedies.

Section 13A-3-21Basis for defense generally; injury to innocent person through negligence; civil remedies. (a) Defense. Except as otherwise expressly provided, justification or excuse under this article is a defense. (b) Danger to innocent persons. If a person is justified or excused in using force against a person, but he recklessly or negligently injures or creates a substantial injury to another person, the justifications afforded by this article are unavailable in a prosecution for such recklessness or negligence. (c) Civil remedy unimpaired. Any justification or excuse within the meaning of this article does not abolish or impair any civil remedy or right of action which is otherwise available. (Acts 1977, No. 607, p. 812, §601.)
AL Code § 13A-3-22 (2021)
2021 Code of Alabama|Title 13A - Criminal Code.|Chapter 3 - Defenses.|Article 2 - Justification and Excuse.|Section 13A-3-22 - Execution of Public Duty.

Section 13A-3-22Execution of public duty. Unless inconsistent with other provisions of this article, or with some other provision of law, conduct which would otherwise constitute an offense is justifiable and not criminal when it is required or authorized by law or by a judicial decree or is performed by a public servant in the reasonable exercise of his official powers, duties or functions. (Acts 1977, No. 607, p. 812, §605; Acts 1979, No. 79-471, p. 862, §1.)
AL Code § 13A-3-24 (2021)
2021 Code of Alabama|Title 13A - Criminal Code.|Chapter 3 - Defenses.|Article 2 - Justification and Excuse.|Section 13A-3-24 - Use of Force by Persons With Parental, Custodial, or Special Responsibilities.

Section 13A-3-24Use of force by persons with parental, custodial, or special responsibilities. The use of force upon another person is justified under any of the following circumstances: (1) A parent, guardian, or other person responsible for the care and supervision of a minor or an incompetent person, and a teacher or other person responsible for the care and supervision of a minor for a special purpose, may use reasonable and appropriate physical force upon the minor or incompetent person when and to the extent that he reasonably believes it necessary and appropriate to maintain discipline or to promote the welfare of the minor or incompetent person. (2) A warden or other authorized official of a jail, prison, or correctional institution may, in order to maintain order and discipline, use whatever physical force is authorized by law. (3) A person responsible for the maintenance of order in a common or contract carrier of passengers, or a person acting under his direction, may use reasonable physical force when and to the extent that he reasonably believes it necessary to maintain order, but he may use deadly physical force only when he reasonably believes it necessary to prevent death or serious physical injury. (4) A person acting under a reasonable belief that another person is about to commit suicide or to inflict serious physical injury upon himself may use reasonable physical force upon that person to the extent that he reasonably believes it necessary to thwart the result. (5) A duly licensed physician, or a person acting under his direction, may use reasonable physical force for the purpose of administering a reasonable and recognized form of treatment which he reasonably believes to be adapted to promoting the physical or mental health of the patient if: a. The treatment is administered with the consent of the patient or, if the patient is a minor or an incompetent person, with the consent of his parent, guardian or other person responsible for his care and supervision; or b. The treatment is administered in an emergency when the physician reasonably believes that no one competent to consent can be consulted and that a reasonable person, wishing to safeguard the welfare of the patient, would consent. (Acts 1977, No. 607, p. 812, §615.)
AL Code § 13A-3-25 (2021)
2021 Code of Alabama|Title 13A - Criminal Code.|Chapter 3 - Defenses.|Article 2 - Justification and Excuse.|Section 13A-3-25 - Use of Force in Defense of Premises.

Section 13A-3-25Use of force in defense of premises. (a) A person in lawful possession or control of premises, as defined in Section 13A-3-20, or a person who is licensed or privileged to be thereon, may use physical force upon another person when and to the extent that he reasonably believes it necessary to prevent or terminate what he reasonably believes to be the commission or attempted commission of a criminal trespass by the other person in or upon such premises. (b) A person may use deadly physical force under the circumstances set forth in subsection (a) of this section only: (1) In defense of a person, as provided in Section 13A-3-23; or (2) When he reasonably believes it necessary to prevent the commission of arson in the first or second degree by the trespasser. (Acts 1977, No. 607, p. 812, §620.)
AL Code § 13A-3-26 (2021)
2021 Code of Alabama|Title 13A - Criminal Code.|Chapter 3 - Defenses.|Article 2 - Justification and Excuse.|Section 13A-3-26 - Use of Force in Defense of Property Other Than Premises.

Section 13A-3-26Use of force in defense of property other than premises. A person is justified in using physical force, other than deadly physical force, upon another person when and to the extent that he reasonably believes it to be necessary to prevent or terminate the commission or attempted commission by the other person of theft or criminal mischief with respect to property other than premises as defined in Section 13A-3-20. (Acts 1977, No. 607, p. 812, §625.)
AL Code § 13A-3-28 (2021)
2021 Code of Alabama|Title 13A - Criminal Code.|Chapter 3 - Defenses.|Article 2 - Justification and Excuse.|Section 13A-3-28 - Use of Force in Resisting Arrest Prohibited.

Section 13A-3-28Use of force in resisting arrest prohibited. A person may not use physical force to resist a lawful arrest by a peace officer who is known or reasonably appears to be a peace officer. (Acts 1977, No. 607, p. 812, §635.)
AL Code § 13A-3-30 (2021)
2021 Code of Alabama|Title 13A - Criminal Code.|Chapter 3 - Defenses.|Article 2 - Justification and Excuse.|Section 13A-3-30 - Duress.

Section 13A-3-30Duress. (a) It is a defense to prosecution that the actor engaged in the proscribed conduct because he was compelled to do so by the threat of imminent death or serious physical injury to himself or another. (b) The defense provided by this section is unavailable if the actor intentionally or recklessly placed himself in a situation in which it was probable that he would be subjected to duress. The defense is also unavailable if he was negligent in placing himself in such a situation, whenever negligence suffices to establish culpability for the offense charged. (c) It is no defense that a person acted at the command or persuasion of his or her spouse, unless such compulsion would establish a defense under this section. The presumption that a woman is subject to compulsion when acting in the presence of her husband is abolished. (d) The defense provided by this section is unavailable in a prosecution for: (1) murder; or (2) any killing of another under aggravated circumstances, as provided by Article 2 of Chapter 5 of this title. (Acts 1977, No. 607, p. 812, §645; Acts 1979, No. 79-664, p. 1163, §1.)
AL Code § 13A-3-31 (2021)
2021 Code of Alabama|Title 13A - Criminal Code.|Chapter 3 - Defenses.|Article 2 - Justification and Excuse.|Section 13A-3-31 - Entrapment.

Section 13A-3-31Entrapment. The Alabama Criminal Code adopts the present case law on entrapment. (Acts 1977, No. 607, p. 812, §650; Acts 1979, No. 79-664, p. 1163, §1.)
AL Code § 13A-5-1 (2021)
2021 Code of Alabama|Title 13A - Criminal Code.|Chapter 5 - Punishments and Sentences.|Article 1 - General Provisions.|Section 13A-5-1 - Applicability of Provisions.

Section 13A-5-1Applicability of provisions. (a) Every person convicted of any offense defined in this title, or defined outside this title, shall be sentenced by the court in accordance with this article, unless otherwise specifically provided by law. (b) Penal laws enacted after January 1, 1980, shall be classified for punishment purposes in accordance with this article. (Acts 1977, No. 607, p. 812, §1201.)
AL Code § 13A-5-2 (2021)
2021 Code of Alabama|Title 13A - Criminal Code.|Chapter 5 - Punishments and Sentences.|Article 1 - General Provisions.|Section 13A-5-2 - Authorized Dispositions.

Section 13A-5-2Authorized dispositions. (a) Every person convicted of a felony shall be sentenced by the court to imprisonment for a term authorized by Sections 13A-5-6, 13A-5-9, and 13A-5-10. (b) In addition to imprisonment, every person convicted of a felony may be sentenced by the court to pay a fine authorized by Section 13A-5-11. (c) Every person convicted of a misdemeanor or violation shall be sentenced by the court to: (1) Imprisonment for a term authorized by Section 13A-5-7; or (2) Pay a fine authorized by Section 13A-5-12; or (3) Both such imprisonment and fine. (d) Every person convicted of a felony, misdemeanor, or violation, except for the commission of a sex offense involving a child as defined in Section 15-20A-4(26), may be placed on probation as authorized by law. (e) This article does not deprive a court of authority conferred by law to forfeit property, dissolve a corporation, suspend or cancel a license or permit, remove a person from office, cite for contempt, or impose any other lawful civil penalty. Such a judgment, order, or decree may be included as part of the sentence. (f) Every person convicted of murder shall be sentenced by the court to imprisonment for a term, or to death, life imprisonment without parole, or life imprisonment in the case of a defendant who establishes that he or she was under the age of 18 years at the time of the offense, as authorized by subsection (c) of Section 13A-6-2. (Acts 1977, No. 607, p. 812, §1205; Act 2005-301, 1st Sp. Sess., p. 571, §1; Act 2015-463, §1; Act 2016-360, §1.)
AL Code § 13A-5-3 (2021)
2021 Code of Alabama|Title 13A - Criminal Code.|Chapter 5 - Punishments and Sentences.|Article 1 - General Provisions.|Section 13A-5-3 - Classification of Offenses.

Section 13A-5-3Classification of offenses. (a) Offenses are designated as felonies, misdemeanors or violations. (b) Felonies are classified according to the relative seriousness of the offense into four categories: (1) Class A felonies; (2) Class B felonies; (3) Class C felonies; and (4) Class D felonies. (c) Misdemeanors are classified according to the relative seriousness of the offense into three categories: (1) Class A misdemeanors; (2) Class B misdemeanors; and (3) Class C misdemeanors. (d) Violations are not classified. (Acts 1977, No. 607, p. 812, §1210; Act 2015-185, §2.)