Maryland Public Safety Section 13-901
§ 13-901.
  (a)   This section does not apply to the wearing of:
    (1)   shoes, socks, shirts, ties, or scarfs; or
    (2)   trousers, overalls, overcoats, raincoats, field jackets, or headgear from which the service buttons, insignia, and other distinctive markings have been removed.
  (b)   Without authority under the laws of the United States or this State, a person may not wear a uniform or distinctive part of a uniform or an item similar to a uniform or a distinctive part of a uniform of:
    (1)   the United States Army, Navy, Air Force, Marine Corps, or Coast Guard; or
    (2)   the National Guard of this State, another state, or the United States;
    (3)   the Maryland Defense Force; or
    (4)   an auxiliary of any of the military units listed in this subsection.
  (c)   A person who violates this section is guilty of a misdemeanor and on conviction is subject to imprisonment not exceeding 60 days or a fine of not less than $100 and not exceeding $500 or both.