Md. Const. Decl. of Rts. art. 17
That retrospective Laws, punishing acts committed before the existence of such Laws, and by them only declared criminal are oppressive, unjust and incompatible with liberty; wherefore, no ex post facto Law ought to be made; nor any retrospective oath or restriction be imposed, or required.