Maryland’s testamentary capacity framework requires a testator to be of sound mind at the moment a will is executed, including an understanding of the will, the property involved, the beneficiaries, and the intended distribution of assets. The law applies a relatively low threshold and recognizes the “moment of signing” principle, meaning capacity may exist only briefly when the will is executed. Maryland law also presumes sanity in a properly executed will and recognizes important parallels between testamentary capacity for wills and trusts.