Code of the District of Columbia

Chapter 1. General Provisions.

§ 23–101. Conduct of prosecutions.

(a) Prosecutions for violations of all police or municipal ordinances or regulations and for violations of all penal statutes in the nature of police or municipal regulations, where the maximum punishment is a fine only, or imprisonment not exceeding one year, shall be conducted in the name of the District of Columbia by the Corporation Counsel for the District of Columbia [Attorney General for the District of Columbia] or his assistants, except as otherwise provided in such ordinance, regulation, or statute, or in this section.

(b) Prosecutions for violations of section 6 of the Act of July 29, 1892 (D.C. Official Code, sec. 22-1307), relating to disorderly conduct, and for violations of section 9 of that Act (D.C. Official Code, sec. 22-1312), relating to lewd, indecent, or obscene acts, shall be conducted in the name of the District of Columbia by the Corporation Counsel [Attorney General for the District of Columbia] or his assistants.

(c) All other criminal prosecutions shall be conducted in the name of the United States by the United States attorney for the District of Columbia or his assistants, except as otherwise provided by law.

(d) An indictment or information brought in the name of the United States may include, in addition to offenses prosecutable by the United States, offenses prosecutable by the District of Columbia, and such prosecution may be conducted either solely by the Corporation Counsel [Attorney General for the District of Columbia] or his assistants or solely by the United States attorney or his assistants if the other prosecuting authority consents.

(e) Separate indictments or informations, or both, charging offenses prosecutable by the District of Columbia and by the United States may be joined for trial if the offenses charged therein could have been joined in the same indictment. Such prosecution may be conducted either solely by the Corporation Counsel [Attorney General for the District of Columbia] or his assistants or solely by the United States attorney or his assistants if the other prosecuting authority consents.

(f) If in any case any question shall arise as to whether, under this section, the prosecution should be conducted by the Corporation Counsel [Attorney General for the District of Columbia] or by the United States attorney, the presiding judge shall forthwith, either on his own motion or upon suggestion of the Corporation Counsel [Attorney General for the District of Columbia] or the United States attorney, certify the case to the District of Columbia Court of Appeals, which court shall hear and determine the question in a summary way. In every such case the defendant or defendants shall have the right to be heard in the District of Columbia Court of Appeals. The decision of such court shall be final.

§ 23–102. Abandonment of prosecution; enlargement of time for taking action.

If any person charged with a criminal offense shall have been committed or held to bail to await the action of the grand jury and within nine months thereafter the grand jury shall not have taken action on the case, either by ignoring the charge or by returning an indictment, the prosecution of such charge shall be deemed to have been abandoned and the accused shall be set free or his bail discharged, as the case may be: but, the court having jurisdiction to try the offense for which the person has been committed, when practicable and upon good cause shown in writing and upon due notice to the accused, may from time to time enlarge the time for the taking action in such case by the grand jury.

§ 23–103. Statements prior to sentence.

(a) Except as provided in subsection (b) of this section, before imposing sentence the court may disclose to the defendant’s counsel and to the prosecuting attorney, but not to one and not the other, all or part of any pre-sentencing report submitted to the court in the case. The court also prior to imposing sentence shall afford counsel an opportunity to speak on behalf of the defendant and shall address the defendant personally and ask him if he wishes to make a statement in his own behalf and to present any information in mitigation of punishment. At any time when the defendant or his counsel addresses the court on the sentence to be imposed, the prosecuting attorney shall, if he wishes, have an equivalent opportunity to address the court and to make a recommendation to the court on the sentence to be imposed and to present information in support of his recommendation. Such information as the defendant or his counsel or the prosecuting attorney may present shall at all times be subject to the applicable rules of mutual discovery.

(b) When a victim elects to file a victim impact statement pursuant to § 23-103a, the court shall disclose the victim impact statement portion of the presentence report at a reasonable time prior to imposing sentence to the defendant’s counsel and to the prosecuting attorney.

§ 23–103a. Rights of victims of crime. [Repealed]

Repealed.

§ 23–104. Appeals by United States and District of Columbia.

(a)(1) The United States or the District of Columbia may appeal an order, entered before the trial of a person charged with a criminal offense, which directs the return of seized property, suppresses evidence, or otherwise denies the prosecutor the use of evidence at trial, if the United States attorney or the Corporation Counsel [now Attorney General for the District of Columbia] conducting the prosecution for such violation certifies to the judge who granted such motion that the appeal is not taken for purpose of delay and the evidence is a substantial proof of the charge pending against the defendant.

(2) A motion for return of seized property or to suppress evidence shall be made before trial unless opportunity therefor did not exist or the defendant was not aware of the grounds for the motion.

(b) The United States or the District of Columbia may appeal a ruling made during the trial of a person charged with a criminal offense which suppresses or otherwise denies the prosecutor the use of evidence on the ground that it was invalidly obtained, if the United States attorney or the Corporation Counsel [now Attorney General for the District of Columbia] conducting the prosecution for such violation certifies to the judge who made the ruling that the appeal is not taken for purpose of delay and that the evidence is a substantial proof of the charge being tried against the defendant. The trial court shall adjourn the trial until the appeal shall be resolved; except that, if the decision on appeal has not been rendered within the ninety-six-hour period following the adjournment of the trial, the trial shall resume on the next day of regular court business following the expiration of the ninety-six-hour period, and the appeal shall be deemed void and without effect.

(c) The United States or the District of Columbia may appeal an order dismissing an indictment or information or otherwise terminating a prosecution in favor of a defendant or defendants as to one or more counts thereof, except where there is an acquittal on the merits.

(d) The United States or the District of Columbia may appeal any other ruling made during the trial of a person charged with an offense which the United States attorney or the Corporation Counsel [now Attorney General for the District of Columbia] certifies as involving a substantial and recurring question of law which requires appellate resolution. Such an appeal may be taken only during the trial and only with leave of the court. The trial court shall adjourn the trial until the appeal shall be resolved; except that, if the decision on appeal has not been rendered within the ninety-six-hour period following the adjournment of the trial, the trial shall resume on the next day of regular court business following the expiration of the ninety-six-hour period, and the appeal shall be deemed void and without effect.

(d-1) In a criminal or delinquency case, the United States or the District of Columbia may appeal an order of a trial court granting a new trial after verdict or judgment, as to any one or more counts, or any part thereof, except that no appeal shall lie where the double jeopardy clause of the United States Constitution prohibits further prosecution.

(d-2) In a criminal or delinquency case, the United States or the District of Columbia may appeal a decision or order entered by the trial court granting the release of a person charged with, or convicted or adjudicated delinquent of an offense, the denial of a motion for revocation of release, or modification of the conditions of release.

(e) Any appeal taken pursuant to this section either before or during trial shall be expedited. If an appeal is taken pursuant to subsection (b), (d), (d-1), or (d-2) during trial, the appellate court shall hear argument on such appeal within forty-eight hours of the adjournment of the trial pursuant to that subsection shall dispense with any requirement of written briefs other than the supporting materials previously submitted to the trial court, shall render its decision within forty-eight hours of argument on appeal, and may dispense with the issuance of a written opinion in rendering its decision. Such appeal and decision shall not affect the right of the defendant, in a subsequent appeal from a judgment of conviction, to claim as error reversal by the trial court on remand of a ruling appealed from during trial.

(f) Pending the prosecution and determination of an appeal taken pursuant to this section, the defendant shall be detained or released in accordance with Chapter 13 of this title and a juvenile respondent shall be detained or released in accordance with Chapter 23 of Title 16.

§ 23–105. Challenges to jurors.

(a) In a trial for an offense punishable by death, each side is entitled to twenty peremptory challenges. In a trial for an offense punishable by imprisonment for more than one year, each side is entitled to ten peremptory challenges. In all other criminal cases, each side is entitled to three peremptory challenges. If there is more than one defendant, or if a case is prosecuted both by the United States and by the District of Columbia, the court may allow additional peremptory challenges and permit them to be exercised separately or jointly, but in no event shall one side be entitled to more peremptory challenges than the other.

(b) The court may direct that jurors in addition to the regular jury be called and impaneled to sit as alternate jurors. In addition to those otherwise allowed, each side is entitled to one peremptory challenge if one or two alternate jurors are to be impaneled, to two peremptory challenges if three or four alternate jurors are to be impaneled, and to three peremptory challenges if five or six alternate jurors are to be impaneled.

(c) Any juror or alternate juror may be challenged for cause.

(d) No verdict shall be set aside for any cause which might be alleged as ground for challenge of a juror before the jury is sworn, except when the objection to the juror is that he had a bias against the defendant such as would have disqualified him, such disqualification was not known to or suspected by the defendant or his counsel before the juror was sworn, and the basis for such disqualification was the subject of examination or request for examination of the prospective jurors by or on request of the defendant.

§ 23–106. Witnesses for defense; fees.

The court shall order at any time that a subpoena be issued for service upon a named witness on behalf of a defendant if the defendant makes an application for such an order and makes a satisfactory showing that he is financially unable to pay the fees of the witness and that the presence of the witness is necessary to an adequate defense. If the court orders the subpoena to be issued the costs incurred by the process and the fees of the witness so subpoenaed shall be paid in the same manner in which similar costs and fees are paid in case of a witness subpoenaed in behalf of the prosecuting authority.

§ 23–107. Discharge or acquittal of joint defendant during trial in order to be witness.

(a) When two or more persons are jointly indicted or charged by information, or charged by separate indictments or informations which have been joined for trial, the court may, with the consent of the prosecuting authority, direct that a defendant who has not gone into his defense be discharged so that he may be a witness for the prosecution.

(b) When two or more persons are jointly tried, a person desiring that another defendant testify on his behalf may request a judgment of acquittal on behalf of such defendant, which the court shall consider in the same manner as a motion made by such defendant.

(c) At the request of a defendant who wishes to testify on behalf of another person with whom he is jointly tried, if the evidence against such defendant is sufficient to be submitted to the jury and if such other person consents, the court may submit the case concerning such defendant to the jury separately so that his testimony may not be considered against him by such jury.

(d) A discharge granted pursuant to subsection (a), or an acquittal secured pursuant to subsection (b) or (c), shall be a bar to another prosecution for the same offense of the defendant so discharged or acquitted.

§ 23–108. Depositions.

(a) If a material witness for either the prosecution or the defendant resides more than twenty-five miles from the place of holding court, is sick or infirm, or is about to leave the District of Columbia, and the prosecution or the defendant applies in writing to the court for a commission to examine such witness, the court may grant the commission, and enter an order stating for what length of time notice shall be given to the other party before such witness shall be examined. At or before the time fixed in the notice, when the examination is upon written interrogatories, the other party may file cross-interrogatories. When the examination is conducted orally, the other party may cross-examine the deponent. If the other party fails to file written interrogatories or fails to attend an oral examination, the clerk shall file the following interrogatories:

“(1) Are all your statements in the foregoing answers made from your own personal knowledge? If not, show what is stated upon information and give its source.

“(2) State everything you know in addition to what is stated in your above answers concerning this case favorable to either the prosecution or the defendant.”

(b) The court may order in any case that the examination be conducted orally.

(c) The commission shall issue from the clerk’s office, the examination of the witnesses shall be made and certified, and the return thereof made in the same manner as in civil cases, and unimportant irregularities or errors in the proceedings under the commission shall not cause the deposition to be excluded where no substantial prejudice can be wrought to the prosecution or the defendant by such irregularities or errors.

(d) Copies of the depositions or answers to interrogatories shall be made available to all of the parties upon the completion of the examination.

§ 23–109. Powers of investigators assigned to United States Attorney.

Any special investigator appointed by the Attorney General and assigned to the United States Attorney for the District shall have authority to execute all lawful writs, process, and orders issued under authority of the United States, and command all necessary assistance to execute his duties, and shall have the same powers to make arrests as are possessed by members of the Metropolitan Police Department of the District of Columbia.

§ 23–110. Remedies on motion attacking sentence.

(a) A prisoner in custody under sentence of the Superior Court claiming the right to be released upon the ground that (1) the sentence was imposed in violation of the Constitution of the United States or the laws of the District of Columbia, (2) the court was without jurisdiction to impose the sentence, (3) the sentence was in excess of the maximum authorized by law, (4) the sentence is otherwise subject to collateral attack, may move the court to vacate, set aside, or correct the sentence.

(b)(1) A motion for such relief may be made at any time.

(2) A motion for such relief may be dismissed if the government demonstrates that it has been materially prejudiced in its ability to respond to the motion by the delay in its filing, unless the movant shows that the motion is based on grounds which the movant could not have raised by the exercise of reasonable diligence before the circumstances prejudicial to the government occurred.

(c) Unless the motion and files and records of the case conclusively show that the prisoner is entitled to no relief, the court shall cause notice thereof to be served upon the prosecuting authority, grant a prompt hearing thereon, determine the issues, and make findings of fact and conclusions of law with respect thereto. If the court finds that (1) the judgment was rendered without jurisdiction, (2) the sentence imposed was not authorized by law or is otherwise open to collateral attack, (3) there has been such a denial or infringement of the constitutional rights of the prisoner as to render the judgment vulnerable to collateral attack, the court shall vacate and set the judgment aside and shall discharge the prisoner, resentence him, grant a new trial, or correct the sentence, as may appear appropriate.

(d) A court may entertain and determine the motion without requiring the production of the prisoner at the hearing.

(e) The court shall not be required to entertain a second or successive motion for similar relief on behalf of the same prisoner.

(f) An appeal may be taken to the District of Columbia Court of Appeals from the order entered on the motion as from a final judgment on application for a writ of habeas corpus.

(g) An application for a writ of habeas corpus in behalf of a prisoner who is authorized to apply for relief by motion pursuant to this section shall not be entertained by the Superior Court or by any Federal or State court if it appears that the applicant has failed to make a motion for relief under this section or that the Superior Court has denied him relief, unless it also appears that the remedy by motion is inadequate or ineffective to test the legality of his detention.

§ 23–111. Proceedings to establish previous convictions.

(a)(1) No person who stands convicted of an offense under the laws of the District of Columbia shall be sentenced to increased punishment by reason of one or more previous convictions, unless prior to trial or before entry of a plea of guilty, the United States attorney or the Corporation Counsel [Attorney General for the District of Columbia], as the case may be, files an information with the clerk of the court, and serves a copy of such information on the person or counsel for the person, stating in writing the previous convictions to be relied upon. Upon a showing by the Government that facts regarding previous convictions could not with due diligence be obtained prior to trial or before entry of a plea of guilty, the court may postpone the trial or the taking of the plea of guilty for a reasonable period for the purpose of obtaining such facts. Clerical mistakes in the information may be amended at any time prior to the pronouncement of sentence.

(2) An information may not be filed under this section if the increased punishment which may be imposed is imprisonment for a term in excess of three years, unless the person either waived or was afforded prosecution by indictment for the offense for which such increased punishment may be imposed.

(b) If the prosecutor files an information under this section, the court shall, after conviction but before pronouncement of sentence, inquire of the person with respect to whom the information was filed whether he affirms or denies that he has been previously convicted as alleged in the information, and shall inform him that any challenge to a previous conviction which is not made before sentence is imposed may not thereafter be raised to attack the sentence.

(c)(1) If the person denies any allegation of the information of previous conviction, or claims that any conviction alleged is invalid, he shall file a written response to the information. A copy of the response shall be served upon the prosecutor. The court shall hold a hearing to determine any issues raised by the response which would except the person from increased punishment. The failure of the Government to include in the information the complete criminal record of the person or any facts in addition to the convictions to be relied upon shall not constitute grounds for invalidating the notice given in the information required by subsection (a)(1). The hearing shall be before the court without a jury and either party may introduce evidence. Except as otherwise provided in paragraph (2) of this subsection, the prosecuting authority shall have the burden of proof beyond a reasonable doubt on any issue of fact. At the request of either party, the court shall enter findings of fact and conclusions of law.

(2) A person claiming that a conviction alleged in the information was obtained in violation of the Constitution of the United States shall set forth his claim, and the factual basis therefor, with particularity in his response to the information. The person shall have the burden of proof by a preponderance of the evidence on any issue of fact raised by the response. Any challenge to a previous conviction, not raised by response to the information before an increased sentence is imposed in reliance thereon, shall be waived unless good cause be shown for failure to make a timely challenge.

(d)(1) If the person files no response to the information, or if the court determines, after hearing, that the person is subject to increased punishment by reason of previous convictions, the court shall proceed to impose sentence upon him as provided by law.

(2) If the court determines that the person has not been convicted as alleged in the information, that a conviction alleged in the information is invalid, or that the person is otherwise not subject to an increased sentence as a matter of law, the court shall, at the request of the prosecutor, postpone sentence to allow an appeal from that determination. If no such request is made, the court shall impose sentence as provided by law. The person may appeal from an order postponing sentence as if sentence had been pronounced and a final judgment of conviction entered.

§ 23–112. Consecutive and concurrent sentences.

A sentence imposed on a person for conviction of an offense shall, unless the court imposing such sentence expressly provides otherwise, run consecutively to any other sentence imposed on such person for conviction of an offense, whether or not the offense (1) arises out of another transaction, or (2) arises out of the same transaction and requires proof of a fact which the other does not.

§ 23–112a. Notice at sentencing of child support modification.

(a) At all sentencing proceedings in which an individual will be sentenced for a period of imprisonment of more than 30 days, or at any proceeding in which a judge is revoking probation that will result in a sentence of imprisonment of more than 30 days, the sentencing court shall inquire as to whether the individual being sentenced is subject to a child support order. If the individual being sentenced is subject to a child support order, the sentencing court shall explain that:

(1) The individual being sentenced may petition to modify or suspend child support payments during the period of the individual’s imprisonment; and

(2) Child support payments will continue to accrue under the order unless the order is modified or suspended.

(b) The court shall provide each individual being sentenced with a copy of a pro se petition to modify the child support order pursuant to § 46-204. The petition may be filed in open court during sentencing. The petition shall be deemed filed in the case in which the child support order was entered as of its filing in open court, and the petition shall be included in the records of that case.

(c) The clerk of the Court shall effectuate service of the petition in accordance with § 46-206.

§ 23–113. Limitations on actions for criminal violations.

*NOTE: This section includes amendments by emergency legislation that will expire on June 9, 2024. To view the text of this section after the expiration of all emergency and temporary legislation, click this link: Permanent Version.*

(a) Time limitations. —

(1) A prosecution for the following crimes may be commenced at any time:

(A) murder in the first or second degree (D.C. Official Code §§ 22-2101 and 2102 [22-2102]);

(B) murder in the second degree (D.C. Official Code § 22-2103);

(C) murder of a law enforcement officer or public safety employee (D.C. Official Code § 22-2106);

(D) first degree murder that constitutes an act of terrorism (D.C. Official Code § 22-3153(a));

(E) second degree murder that constitutes an act of terrorism (D.C. Official Code § 22-3153(c));

(F) murder of a law enforcement officer or public safety employee that constitutes an act of terrorism (D.C. Official Code §§ 22-3153(b));

(G) first degree sexual abuse (§ 22-3002);

(H) second degree sexual abuse (§ 22-3003);

(I) third degree sexual abuse (§ 22-3004);

(J) fourth degree sexual abuse (§ 22-3005);

(K) first degree child sexual abuse (§ 22-3008);

(L) second degree child sexual abuse (§ 22-3009);

(M) first degree sexual abuse of a minor (§ 22-3009.01);

(N) second degree sexual abuse of a minor (§ 22-3009.02);

(O) first degree sexual abuse of a secondary education student (§ 22-3009.03);

(P) second degree sexual abuse of a secondary education student (§ 22-3009.04);

(Q) first degree sexual abuse of a ward, patient, client, or prisoner (§ 22-3013);

(R) second degree sexual abuse of a ward, patient, client, or prisoner (§ 22-3014);

(S) first degree sexual abuse of a patient or client (§ 22-3015);

(T) second degree sexual abuse of a patient or client (§ 22-3016); and

(U) incest (§ 22-1901).

(1A) Any offense that is properly joinable with any of the crimes listed in paragraph (1) of this subsection is barred if not commenced within 15 years after it is committed.

(2) [Repealed].

(3) A prosecution for the following crimes and any offense that is properly joinable with any of the following crimes is barred if not commenced within ten (10) years after it is committed:

(A) [Repealed].

(B) [Repealed].

(C) enticing a child for the purpose of committing felony sexual abuse (D.C Official Code § 22-3010);

(D) [Repealed].

(E) [Repealed].

(F) [Repealed].

(G) [Repealed].

(H) using a minor in a sexual performance or promoting a sexual performance by a minor (D.C. Official Code § 22-3102);

(I) [Repealed].

(J) Trafficking in labor or commercial sex and sex trafficking of children as prohibited by [D.C. Official Code §§ 22-1833 and 22-1834], respectively;

(K) abducting or enticing child from his or her home for purposes of prostitution, or harboring such child (§ 22-2704);

(L) pandering, or inducing or compelling an individual to engage in prostitution (§ 22-2705);

(M) compelling an individual to live life of prostitution against his or her will (§ 22-2706); and

(N) causing spouse or domestic partner to live in prostitution (§ 22-2708).

(4) Except as provided in paragraph (6), a prosecution for a felony other than those crimes enumerated in paragraph (1) or paragraph (3) is barred if not commenced within six (6) years after it is committed.

(5) Except as provided in paragraphs (6) and (7), a prosecution for any other criminal offense is barred if not commenced within three (3) years after it is committed.

(6) A prosecution for a felony or a misdemeanor may be brought within three (3) years:

(A) after a public officer or employee has left office, for any completed offense based on official conduct; or

(B) after a fraud or breach of fiduciary trust has been, or reasonably should have been, discovered for any completed offense based on that fraud or breach of fiduciary trust; even if barred by the provisions of paragraphs (4) and (5):

Provided, that, in no case shall this provision extend the period of limitations to more than nine (9) years in the case of a felony nor more than six (6) years in the case of a misdemeanor.

(7) A prosecution for a violation of subchapter II of Chapter 13 of Title 4 is barred if not commenced within 6 years after it is committed.

(b) Time when offense committed. — An offense is committed either when every element occurs, or, if a legislative purpose to prohibit a continuing course of conduct plainly appears, at the time when the course of conduct, or the defendant’s complicity therein, is terminated. Time starts to run on the day after the offense is committed or completed.

(c) Commencement of prosecution. — A prosecution is commenced when:

(1) an indictment is entered;

(2) an information is filed; or

(3) a complaint is filed before a judicial officer empowered to issue an arrest warrant; provided, that such warrant is issued without unreasonable delay. A prosecution for an offense necessarily included in the offense charged shall be considered to have been timely commenced, even though the period of limitation for such included offense has expired, if the period of limitation has not expired for the offense charged and if there was, after the close of the evidence at trial, sufficient evidence as a matter of law to sustain a conviction for the offense charged.

(d) Suspension of period of limitation. —

(1) The period of limitation for an offense, and any necessarily included offense, does not run during any time when a prosecution against the defendant for that offense is pending in the courts of the District of Columbia.

(2) The period of limitation shall not begin to run until the victim reaches 21 years of age for the following offenses:

(A) [Repealed].

(B) [Repealed].

(C) enticing a child for the purpose of committing felony sexual abuse (D.C. Official Code § 22-3010);

(D) using a minor in a sexual performance or promoting a sexual performance by a minor (D.C. Official Code § 22-3102);

(E) [Repealed].

(F) [Repealed].

(G) Section [D.C. Official Code § 22-2704];

(H) Section [D.C. Official Code § 22-2705];

(I) Section [D.C. Official Code § 22-2706], where the victim is a minor; and

(J) Forced labor, trafficking in labor or commercial sex, sex trafficking of children, and benefitting financially from human trafficking as prohibited by the Human Trafficking Act [D.C. Law 18-239], where the victim is a minor.

(3) [Repealed].

(4) [Repealed].

(5) The period of limitation shall not begin to run for forced labor, trafficking in labor or commercial sex, sex trafficking of children, and benefitting financially from human trafficking until the victim is no longer subject to the means used to obtain or maintain his or her labor or services or commercial sex acts.

(e) Extended period for commencement of new prosecution. — If a timely complaint, indictment, or information is dismissed for any error, defect, insufficiency, or irregularity, a new prosecution may be commenced within three (3) months after the dismissal becomes final even though the period of limitation has expired at the time of the dismissal or will expire within three (3) months thereafter.

(f) Fugitives from justice. — No statute of limitations shall extend to any person fleeing from justice.

§ 23–114. Corroboration of a child witness’ testimony not required.

For purposes of prosecutions brought under Title 22 of the D.C. Official Code, independent corroboration of the testimony of a child victim is not required to warrant a conviction.

§ 23–115. Limits on defenses that justify, excuse, or mitigate a defendant's conduct on the basis of a victim's gender identity, gender expression, or sexual orientation.

(a) In any prosecution, criminal proceeding, or criminal trial, when applicable to the offense charged, for the purposes of proving:

(1) Heat of passion caused by adequate provocation, a defendant's provocation was not objectively adequate if it was based on discovery of, knowledge about, or the potential disclosure of the victim's actual or perceived gender identity, gender expression, or sexual orientation;

(2) Insanity, the defendant did not lack substantial capacity if the mental disease or defect at issue was based on discovery of, knowledge about, or the potential disclosure of the victim's actual or perceived gender identity, gender expression, or sexual orientation; or

(3) Self-defense, defense of others, or defense of property, the defendant was not justified in using force if the basis for their belief in imminent danger was based on discovery of, knowledge about, or the potential disclosure of the victim's actual or perceived gender identity, gender expression, or sexual orientation.

(b) Notwithstanding subsection (a) of this section, the defense may present evidence of prior trauma to the defendant for the purposes of excusing or justifying the defendant's conduct or mitigating the severity of the offense.