Maryland Statutes
Subtitle 2 - Parent and Child
Section 5-202 - Child of Void Marriage

When a criminal or equity court of this State annuls a marriage, or when an equity court of this State decrees an absolute divorce for a reason that makes the marriage void ab initio, the court in the decree shall declare each child of the marriage to be a legitimate child of the parties to the marriage.