MIAMI (CBSMiami)- The Opa-Locka woman charged with trying to sell her baby got a break from the court Friday when the judge agreed to withhold adjudication in the case against her after a deal was worked for custody and visitation.

Kenia Bosque was charged with an adoption violation after she tried to sell her son to a Monroe County man in 2011. While she never kept the meeting at which the sale was to take place, investigators thought they had enough evidence and arrested her at her home.

READ MORE: Honda Issues Recall Over Hood Issue

After a series of delays, Bosque’s trial was set to start Friday, but before it got underway the judge asked all sides to try to work out a compromise.

After discussion, it was agreed that the baby and Bosque’s other children would remain in the custody of her husband. who is not the biological father of the baby but who has helped raise the child.

READ MORE: Two Lots Of COVID Drug Remdesivir Part Of Safety Recall For Glass Particle Contamination

Bosque would be allowed to have supervised visits on a schedule still to be worked out.

In return, adjudication would be withheld on the adoption charge.

MORE NEWS: Dolphins Dominate Depleted Giants 20-9 For 5th Straight Win

A new court date was set for February 14th to finalize details.