A mother was arrested after she was accused of leaving her 2-year-old alone at a Miami apartment building.

Randeshia Coats, 39, was arrested Tuesday on a charge of child neglect with no great bodily harm, records showed.

According to an arrest report, officers were called to the building after a witness found the 2-year-old wandering the area.

When officers arrived, they searched the apartment and found no one else inside.

Coats was later arrested and booked into jail.

In court Wednesday, it was learned the 2-year-old was in the custody of the Department of Children and Families.

A judge gave Coats pre-trial services with an alternate bond of $2,500, and ordered only supervised visits with her child.