<?xml version='1.0' encoding='utf-8'?>
<section article="gfl" article_name="Family Law" number="5-1038" title_number="5" title_name="Children" subtitle_number="10" subtitle_name="Paternity Proceedings">
  <level label="a">
    <level label="1">
      <text>Except as provided in paragraph (2) of this subsection, a declaration of paternity in an order is final.</text>
    </level>
    <level label="2">
      <level label="i">
        <text>A declaration of paternity may be modified or set aside:</text>
        <level label="1">
          <text>in the manner and to the extent that any order or decree of an equity court is subject to the revisory power of the court under any law, rule, or established principle of practice and procedure in equity; or</text>
        </level>
        <level label="2">
          <text>if a blood or genetic test done in accordance with § 5-1029 of this subtitle establishes the exclusion of the individual named as the father in the order.</text>
        </level>
      </level>
      <level label="ii">
        <text>Notwithstanding subparagraph (i) of this paragraph, a declaration of paternity may not be modified or set aside if the individual named in the order acknowledged paternity knowing he was not the father.</text>
      </level>
    </level>
  </level>
  <level label="b">
    <text>Except for a declaration of paternity, the court may modify or set aside any order or part of an order under this subtitle as the court considers just and proper in light of the circumstances and in the best interests of the child.</text>
  </level>
</section>
