Maryland Statutes
Part II - Uniform Act on Fresh Pursuit
Section 2-306 - Hearing to Determine Lawfulness of Arrest

(a)    If an officer of another state makes an arrest in this State in accordance with § 2-305(a) of this subtitle, the officer shall, without unnecessary delay, take the person arrested before a judge of the circuit court of the county in which the arrest was made for a hearing to determine the lawfulness of the arrest.
    (b)    If the judge determines that the arrest was unlawful, the judge shall discharge the arrested person.