Maryland Annotated Code art. 27, § 641A(a) provides that, “[u]pon entering a judgment of conviction, the court having jurisdiction may suspend the imposition or execution of sentence and place the defendant on probation upon such terms and conditions as the court deems proper.” We are called upon in this appeal to determine whether an innovative condition of probation is proper.
The Facts
Kim L. Smith, in accordance with a plea agreement, pled guilty in the Circuit Court for Baltimore City to one count *373 of child abuse. Under the terms of the agreement, Smith was to receive a maximum sentence of five years incarceration. Actual imprisonment was to be limited to the time already served. The remaining portion of the five years was to be suspended, and Smith was to be placed on supervised probation.
The trial judge found a factual basis for the plea and further found that the plea was freely and voluntarily entered. He then accepted the plea and entered a verdict of guilty. Disposition was held sub curia, pending the receipt of a pre-sentence investigation and medical evaluation of Smith.
When sentencing occurred approximately five weeks later, the judge elicited testimony from a representative of the Department of Social Services (DSS). During the representative’s testimoriy, the judge became aware that Smith had one other child, who had also been subjected to abuse. The judge noted, however, that Smith was not the perpetrator of that abuse, but that the child’s father was. The father was incarcerated, awaiting trial, for that particular offense. Probing into the matter, the judge discovered that the DSS would consider returning Smith’s children to her during her probationary period provided she demonstrated her fitness.
Immediately after receiving the testimony of the DSS representative and over the strenuous objection of Smith’s counsel, the judge added a condition to Smith’s probation. The judge ordered that Smith not seek custody of her children unless she first obtained permission from the judge. He admonished Smith that if she sought custody without his prior approval she would violate her probation and be sent to jail.
The Law
Smith urges us to hold that the trial judge erred in imposing a condition of probation prohibiting her from seeking to regain custody of her children without prior *374 approval of the judge. The State, on the other hand, asserts that the imposition of the custody condition was a proper exercise of the court’s discretion regarding Smith’s probation. We disagree with the State’s position and vacate the sentence.
Jurisdiction over the children rests with the Juvenile Court of Baltimore City. 1 In accordance with the statutory procedures, the children were placed under the care of DSS, who then placed the children with relatives. The authority to determine whether and under what circumstances Smith’s child or children will be returned to her rests in the Juvenile Court. Since the trial judge was without jurisdiction to decide custody directly, he is seeking to do indirectly that which he cannot do directly, i.e., nevertheless control custody of the children insofar as their mother, Kim Smith, is concerned.
If Smith is required to adhere to the trial judge’s probation order, she may well be faced with a Hobson’s choice. The juvenile courts might determine that the best interest of the child or children is for custody to be restored to Smith.
Montgomery County v. Sanders,
Under Maryland Rule 4-243, once a plea agreement has been presented to a court, the trial judge has the option of accepting or rejecting the agreement or deferring approval or rejection until pre-sentencing proceedings and investigations are concluded. Furthermore, if the plea agreement is approved, the judge
shall
embody the agreement into the disposition of the case. At that juncture of the proceeding, the only option open to the trial judge regarding the agreement is, with consent of the parties, to provide a more
favorable
disposition than that provided in the agreement. If, for any reason, the judge elects to reject the agreement, the defendant must be afforded the opportunity to withdraw the plea of guilty. “As a general rule, once a judge has accepted a guilty plea and bound the defendant to it, the judge cannot refuse to carry through the bargain that induced the pleas.”
Banks v. State,
It is well established in this State that the terms and conditions of probation must be clear, definite, and reasonable. Furthermore, the terms must be understood by the recipient, have a rational basis, and not be arbitrary or capricious.
Watson v. State,
We held in
Watson
that the trial judge exceeds his or her authority under Md.Ann.Code art. 27, § 641A (1987), when the terms and conditions of probation “constitute an unwarranted invasion into and encroachment upon the duties and
*376
functions of the Board of Parole.”
We are cognizant that the trial judge’s motives in the case sub judice were dictated by his desire to foster the best interest of Smith’s children. Nevertheless, what he did was inject himself into a matter that the Legislature has decided best rests in the jurisdiction of the juvenile court.
It is clear from the record that the trial judge accepted Smith’s guilty plea on November 22, 1988 when he directed the entering of the guilty verdict. It is equally transpicuous that during the sentencing hearing, after the judge imposed the nonbargained-for condition of his prior approval before regaining custody, Kim Smith was not afforded an opportunity to withdraw her plea. 3 Indeed, any fair reading of the transcript reveals that confronted with agreeing to the extra condition or withdrawing the plea and facing confinement, Smith was coerced into stating, “I’m willing to do anything to get the help I need. And, you know, the stress parenting and alcohol, everything. And I won’t try to get my kids back until I’m successful at it.”
We think that, because the guilty plea was accepted by the judge before he unilaterally altered it without permitting Smith the opportunity to withdraw the plea, Smith is entitled to the benefit of her bargain. We add that custody matters are best not decided in a criminal proceeding. 4
SENTENCE VACATED. CASE REMANDED FOR IMPOSITION OF PROPER SENTENCE.
COSTS TO BE PAID BY MAYOR AND CITY COUNCIL OF BALTIMORE.
Notes
. Smith’s children were determined, pursuant to § 3-801(e) of the Md.Cts. & Jud.Proc.Code Ann., to be "Child(ren) in Need of Assistance.” Therefore, jurisdiction over the children rests exclusively with the juvenile court. Md.Cts. & Jud.Proc.Code Ann., § 3-804.
.
Campbell
v.
State,
. Md. Rule 4-243(c)(5).
. Criminal courts may order supervised visitation or otherwise limit contact between parent and child when the juvenile or equity court has not assumed jurisdiction.
