A defendant who is denied pretrial release by a District Court commissioner or who for any reason remains in custody after a District Court commissioner has determined conditions of release under Maryland Rule 4-216 shall be presented to a District Court judge immediately if the Court is in session, or if the Court is not in session, at the next session of the Court.
Md. Code, CP § 5-215