Md. Code, Est. & Trusts § 4-103

Current with effective changes from the 2024 legislative session, chs. 2-121
Section 4-103 - Holographic will
(a) A will entirely in the handwriting of a testator who is serving in the armed services of the United States is a valid holographic will if signed by the testator outside of a state of the United States, the District of Columbia, or a territory of the United States even if there are no attesting witnesses.
(b) A holographic will is void one year after the discharge of the testator from the armed services unless the testator has died prior to expiration of the year or does not then possess testamentary capacity.

Md. Code, ET § 4-103