(a) If a person comes into this State in obedience to a summons directing him to attend and testify in this State he shall not while in this State pursuant to such summons be subject to arrest or the service of process, civil or criminal, in connection with matters which arose before his entrance into this State under the summons.
(b) If a person passes through this State while going to another state in obedience to a summons to attend and testify in that state or while returning therefrom, he shall not while so passing through this State be subject to arrest or the service of process, civil or criminal, in connection with matters which arose before his entrance into this State under the summons.
Structure Maryland Statutes
Courts and Judicial Proceedings
Subtitle 3 - Attendance of Witnesses From Without a State
Section 9-302 - Summoning Witnesses to Testify in Another State
Section 9-303 - Witness From Another State Summoned to Testify in This State
Section 9-304 - Exemption From Arrest and Service of Process