MARYLAND CRIMINAL LAW CODE
§ 4-206. Limited search, seizure, and arrest.
(a) Limited search.-
(1) A law enforcement officer may make an inquiry and conduct a limited search of a person under paragraph (2) of this subsection if the officer, in light of the officer's observations, information, and experience, reasonably believes that:
(i) the person may be wearing, carrying, or transporting a handgun in violation of § 4-203 of this subtitle;
(ii) because the person possesses a handgun, the person is or presently may be dangerous to the officer or to others;
(iii) under the circumstances, it is impracticable to obtain a search warrant; and
(iv) to protect the officer or others, swift measures are necessary to discover whether the person is wearing, carrying, or transporting a handgun.
(2) If the circumstances specified under paragraph (1) of this subsection exist, a law enforcement officer:
(i) may approach the person and announce the officer's status as a law enforcement officer;
(ii) may request the name and address of the person;
(iii) if the person is in a vehicle, may request the person's license to operate the vehicle and the registration of the vehicle;
(iv) may ask any question and request any explanation that may be reasonably calculated to determine whether the person is unlawfully wearing, carrying, or transporting a handgun in violation of § 4-203 of this subtitle; and
(v) if the person does not offer an explanation that dispels the officer's reasonable beliefs described in paragraph (1) of this subsection, may conduct a search of the person limited to a patting or frisking of the person's clothing in search of a handgun.