Md. Code, Cts. & Jud. Proc. § 3-701 : COURTS AND JUDICIAL PROCEEDINGS — COURTS OF GENERAL JURISDICTION - JURISDICTION/SPECIAL CAUSES OF ACTION — HABEAS CORPUS —701 - Power to grant writ and exercise jurisdiction
A judge of the circuit court for a county, of the Court of Special Appeals, or of the Court of Appeals has the power to grant the writ of habeas corpus and exercise jurisdiction in all matters pertaining to habeas corpus.