Md. Rule 15-308
Rule 15-308. Notice to State's Attorney and Attorney General
If a judge grants a writ with respect to an individual confined as a result of a sentence for a criminal offense, including a criminal contempt, or as a result of an order in a juvenile proceeding, the judge shall instruct the clerk to give notice of the time and place of the hearing to the State's Attorney for the county in which the sentence or order was entered. If the petition presents an issue of illegal confinement in the Division of Correction unrelated to the underlying conviction or order, notice shall also be directed to the Attorney General.
Cross reference: For the entry of judgment in a removed case, see Rule 4-254(b)(2).