36H-5. Detachable magazines.
(a) Applicability. This section does not apply
to:
(1) The personnel or to the agencies specified
under § 36H-2 (1) through (4) of this sub-
heading; or
(2) A transfer described under § 36H-2 (5) or
(6) of this subheading.
(b) Detachable magazines. A person may
not manufacture, sell, offer for sale, purchase,
receive, or transfer a detachable magazine for
any type of firearm, except a .22 caliber rifle with
a tubular magazine, if the magazine has a
capacity of more than 20 rounds of ammunition.
36H-6. Penalty.
(a) Violation of any provision. Any person
who violates any provision of this subheading is
upon conviction guilty of a misdemeanor and
subject to imprisonment for not more than 3
years or a fine of not more than $5,000 or both.
(b) Use in felony or crime of violence. Any
person who uses an assault pistol, or a
magazine that has a capacity of more than 20
rounds of ammunition, in the commission of any
felony or any crime of violence as defined in §
441 of this article shall be guilty of a separate
misdemeanor and on conviction thereof shall, in
addition to any other sentence imposed by virtue
of commission of the felony or misdemeanor:
(1) For a first offense, be sentenced to the
Maryland Division of Correction for a term of not
less than 5 nor more than 20 years, and:
(i) It is mandatory upon the court to impose no
less than the minimum sentence of 5 years no
part of which shall be suspended; and
(ii) Except as otherwise provided in Article
31B, § 11 of the Code, the person is not eligible
for parole in less than 5 years; and
(2) For a second or subsequent offense, be
sentenced to the Maryland Division of Correction
for a term of not less than 10 nor more than 20
years, and it is mandatory upon the court to im-
pose no less than a minimum sentence of 10
years which shall be served consecutively and
not concurrently to any other sentence imposed
by virtue of the commission of the felony or mis-
demeanor.
http://www.atf.treas.gov/firearms/statelaws/maryland.pdf