<?xml version='1.0' encoding='utf-8'?>
<section article="gcp" article_name="Criminal Procedure" number="6-220" title_number="6" title_name="Trial and Sentencing" subtitle_number="2" subtitle_name="Sentencing">
  <level label="a">
    <text>In this section, “custodial confinement” means:</text>
    <level label="1">
      <text>home detention;</text>
    </level>
    <level label="2">
      <text>a corrections options program established under law which requires the individual to participate in home detention, inpatient treatment, or other similar program involving terms and conditions that constitute the equivalent of confinement; or</text>
    </level>
    <level label="3">
      <text>inpatient drug or alcohol treatment.</text>
    </level>
  </level>
  <level label="b">
    <text>When a defendant pleads guilty or nolo contendere or is found guilty of a crime, a court may stay the entering of judgment, defer further proceedings, and place the defendant on probation before judgment subject to reasonable conditions if:</text>
    <level label="1">
      <text>the court finds that the best interests of the defendant and the public welfare would be served; and</text>
    </level>
    <level label="2">
      <text>the defendant gives written consent after determination of guilt or acceptance of a nolo contendere plea.</text>
    </level>
  </level>
  <level label="c">
    <level label="1">
      <text>When a defendant pleads not guilty, the defendant may, with the consent of the State, enter into an agreement with the State under this subsection and the court may find facts justifying a finding of guilt beyond a reasonable doubt, defer entry of a conviction, and place the defendant on probation before judgment subject to reasonable conditions only if:</text>
      <level label="i">
        <text>the court finds that the best interests of the defendant and the public welfare would be served; and</text>
      </level>
      <level label="ii">
        <text>the defendant consents in writing to the probation before judgment.</text>
      </level>
    </level>
    <level label="2">
      <text>If the defendant violates the terms of an agreement under paragraph (1) of this subsection, the court may enter a finding of guilt and impose a sentence.</text>
    </level>
    <level label="3">
      <text>An agreement under paragraph (1) of this subsection shall provide that:</text>
      <level label="i">
        <text>the defendant does not admit to the facts offered by the State and pleads not guilty;</text>
      </level>
      <level label="ii">
        <text>the defendant accepts probation in exchange for the court expressly withholding a finding of guilt;</text>
      </level>
      <level label="iii">
        <text>the defendant knowingly and voluntarily waives:</text>
        <level label="1">
          <text>the right to a trial; and</text>
        </level>
        <level label="2">
          <text>the right to appeal the probation agreement;</text>
        </level>
      </level>
      <level label="iv">
        <text>if the court finds that the defendant has violated the terms of the probation agreement:</text>
        <level label="1">
          <text>the court may find the defendant guilty of the underlying crime as a result of the violation; and</text>
        </level>
        <level label="2">
          <text>on a finding of guilt, the court may sentence the defendant up to the maximum penalty for the underlying crime; and</text>
        </level>
      </level>
      <level label="v">
        <text>the defendant agrees to the provisions of items (i) through (iv) of this paragraph and the terms and conditions of probation ordered by the court.</text>
      </level>
    </level>
    <level label="4">
      <text>After an agreement made in accordance with this subsection is placed on the record, the court shall make a finding that there are sufficient facts to support a finding of the defendant’s guilt but that the court does not do so and instead defers judgment and imposes probation before judgment.</text>
    </level>
    <level label="5">
      <text>The consent of a defendant to and the receipt by the defendant of a disposition under this paragraph shall be considered a probation before judgment for all other purposes under State law.</text>
    </level>
  </level>
  <level label="d">
    <level label="1">
      <text>Subject to paragraphs (2) and (3) of this subsection, the conditions of probation before judgment may include an order that the defendant:</text>
      <level label="i">
        <text>pay a fine or monetary penalty to the State or make restitution; or</text>
      </level>
      <level label="ii">
        <text>participate in a rehabilitation program, the parks program, or a voluntary hospital program.</text>
      </level>
    </level>
    <level label="2">
      <text>Before the court orders a fine, monetary penalty, or restitution, the defendant is entitled to notice and a hearing to determine the amount of the fine, monetary penalty, or restitution, what payment will be required, and how payment will be made.</text>
    </level>
    <level label="3">
      <text>Any fine or monetary penalty imposed as a condition of probation before judgment shall be within the amount set by law for a violation resulting in conviction.</text>
    </level>
    <level label="4">
      <text>As a condition of probation before judgment, the court may order a person to a term of custodial confinement or imprisonment.</text>
    </level>
  </level>
  <level label="e">
    <level label="1">
      <text>When the crime for which the judgment is being stayed is for a violation of § 21–902 of the Transportation Article or § 2–503, § 2–504, § 2–505, § 2–506, or § 3–211 of the Criminal Law Article, the court:</text>
      <level label="i">
        <text>before imposing a period of probation, may order the Maryland Department of Health to evaluate the defendant in accordance with § 8–505 of the Health – General Article;</text>
      </level>
      <level label="ii">
        <text>if an evaluation was ordered under item (i) of this paragraph, shall review the evaluation before imposing a period of probation; and</text>
      </level>
      <level label="iii">
        <text>shall impose a period of probation and, as a condition of the probation:</text>
        <level label="1">
          <text>shall require the defendant to participate in an alcohol or drug treatment or education program approved by the Maryland Department of Health, unless the court finds and states on the record that the interests of the defendant and the public do not require the imposition of this condition; and</text>
        </level>
        <level label="2">
          <text>may prohibit the defendant from operating a motor vehicle unless the motor vehicle is equipped with an ignition interlock system under § 21–902.2 of the Transportation Article.</text>
        </level>
      </level>
    </level>
    <level label="2">
      <text>When the crime for which the judgment is being stayed is for a violation of any provision of Title 5 of the Criminal Law Article, the court shall impose a period of probation and, as a condition of probation before judgment, require the defendant to participate in a drug treatment or education program approved by the Maryland Department of Health, unless the court finds and states on the record that the interests of the defendant and the public do not require the imposition of this condition.</text>
    </level>
  </level>
  <level label="f">
    <text>Notwithstanding subsections (b) and (c) of this section, a court may not stay the entering of judgment and place a defendant on probation before judgment for:</text>
    <level label="1">
      <text>a violation of § 21–902 of the Transportation Article or § 2–503, § 2–504, § 2–505, § 2–506, or § 3–211 of the Criminal Law Article, if within the preceding 10 years the defendant has been convicted under § 21–902 of the Transportation Article or § 2–503, § 2–504, § 2–505, § 2–506, or § 3–211 of the Criminal Law Article, or has been placed on probation before judgment in accordance with this section, after being charged with a violation of § 21–902 of the Transportation Article or § 2–503, § 2–504, § 2–505, § 2–506, or § 3–211 of the Criminal Law Article;</text>
    </level>
    <level label="2">
      <text>a second or subsequent controlled dangerous substance crime under Title 5 of the Criminal Law Article, except that the court may stay the entering of judgment and place a defendant on probation before judgment for possession of a controlled dangerous substance under § 5–601 of the Criminal Law Article if:</text>
      <level label="i">
        <text>the defendant has been convicted once previously of or received probation before judgment once previously for possession of a controlled dangerous substance under § 5–601 of the Criminal Law Article;</text>
      </level>
      <level label="ii">
        <text>the court requires the defendant to graduate from drug court or successfully complete a substance abuse treatment program as a condition of probation; and</text>
      </level>
      <level label="iii">
        <text>the defendant graduates from drug court or successfully completes a substance abuse treatment program as required;</text>
      </level>
    </level>
    <level label="3">
      <text>a violation of any of the provisions of §§ 3–303 through 3–307, § 3–309, § 3–310, § 3–315, or § 3–602 of the Criminal Law Article for a crime involving a person under the age of 16 years; or</text>
    </level>
    <level label="4">
      <text>a moving violation, as defined in § 11–136.1 of the Transportation Article, if:</text>
      <level label="i">
        <text>the defendant holds a provisional license under § 16–111 of the Transportation Article; and</text>
      </level>
      <level label="ii">
        <text>the defendant has previously been placed on probation under this section for the commission of a moving violation while the defendant held a provisional license.</text>
      </level>
    </level>
  </level>
  <level label="g">
    <level label="1">
      <text>By consenting to and receiving a stay of entering of the judgment as provided by subsections (b) and (c) of this section, the defendant waives the right to appeal at any time from the judgment of guilt.</text>
    </level>
    <level label="2">
      <text>Before granting a stay, the court shall notify the defendant of the consequences of consenting to and receiving a stay of entry of judgment under paragraph (1) of this subsection.</text>
    </level>
  </level>
  <level label="h">
    <text>On violation of a condition of probation before judgment, the court may enter judgment and proceed as if the defendant had not been placed on probation.</text>
  </level>
  <level label="i">
    <level label="1">
      <text>On fulfillment of the conditions of probation before judgment, the court shall discharge the defendant from probation.</text>
    </level>
    <level label="2">
      <text>The discharge is a final disposition of the matter.</text>
    </level>
    <level label="3">
      <text>Discharge of a defendant under this section shall be without judgment of conviction and is not a conviction for the purpose of any disqualification or disability imposed by law because of conviction of a crime.</text>
    </level>
  </level>
  <level label="j">
    <text>If an individual violates the terms of probation, any time served by the individual in custodial confinement shall be credited against any sentence of incarceration imposed by the court.</text>
  </level>
</section>
