Md. Rule 5-605
Rule 5-605. Competency of Judge as Witness
The judge presiding at the trial may not testify in that trial as a witness. No objection need be made in order to preserve the point.
Cross reference: See Rule 18-102.11 (a)(1) and (a)(2)(D).