<?xml version='1.0' encoding='utf-8'?>
<section article="gcp" article_name="Criminal Procedure" number="7-106" title_number="7" title_name="Uniform Postconviction Procedure Act" subtitle_number="1" subtitle_name="In General">
  <level label="a">
    <text>For the purposes of this title, an allegation of error is finally litigated when:</text>
    <level label="1">
      <text>an appellate court of the State decides on the merits of the allegation:</text>
      <level label="i">
        <text>on direct appeal; or</text>
      </level>
      <level label="ii">
        <text>on any consideration of an application for leave to appeal filed under § 7-109 of this subtitle; or</text>
      </level>
    </level>
    <level label="2">
      <text>a court of original jurisdiction, after a full and fair hearing, decides on the merits of the allegation in a petition for a writ of habeas corpus or a writ of error coram nobis, unless the decision on the merits of the petition is clearly erroneous.</text>
    </level>
  </level>
  <level label="b">
    <level label="1">
      <level label="i">
        <text>Except as provided in subparagraph (ii) of this paragraph, an allegation of error is waived when a petitioner could have made but intelligently and knowingly failed to make the allegation:</text>
        <level label="1">
          <text>before trial;</text>
        </level>
        <level label="2">
          <text>at trial;</text>
        </level>
        <level label="3">
          <text>on direct appeal, whether or not the petitioner took an appeal;</text>
        </level>
        <level label="4">
          <text>in an application for leave to appeal a conviction based on a guilty plea;</text>
        </level>
        <level label="5">
          <text>in a habeas corpus or coram nobis proceeding began by the petitioner;</text>
        </level>
        <level label="6">
          <text>in a prior petition under this subtitle; or</text>
        </level>
        <level label="7">
          <text>in any other proceeding that the petitioner began.</text>
        </level>
      </level>
      <level label="ii">
        <level label="1">
          <text>Failure to make an allegation of error shall be excused if special circumstances exist.</text>
        </level>
        <level label="2">
          <text>The petitioner has the burden of proving that special circumstances exist.</text>
        </level>
      </level>
    </level>
    <level label="2">
      <text>When a petitioner could have made an allegation of error at a proceeding set forth in paragraph (1)(i) of this subsection but did not make an allegation of error, there is a rebuttable presumption that the petitioner intelligently and knowingly failed to make the allegation.</text>
    </level>
  </level>
  <level label="c">
    <level label="1">
      <text>This subsection applies after a decision on the merits of an allegation of error or after a proceeding in which an allegation of error may have been waived.</text>
    </level>
    <level label="2">
      <text>Notwithstanding any other provision of this title, an allegation of error may not be considered to have been finally litigated or waived under this title if a court whose decisions are binding on the lower courts of the State holds that:</text>
      <level label="i">
        <text>the Constitution of the United States or the Maryland Constitution imposes on State criminal proceedings a procedural or substantive standard not previously recognized; and</text>
      </level>
      <level label="ii">
        <text>the standard is intended to be applied retrospectively and would thereby affect the validity of the petitioner’s conviction or sentence.</text>
      </level>
    </level>
  </level>
</section>
