A Charleston woman was arrested Thursday after police said she left a toddler for two months in a house surrounded by filth and drug use.

Elizabeth Danielle Williams, 23, of Cruill Drive in West Ashley, was charged with child endangerment and booked into the Charleston County jail.

Charleston police were called to a West Ashley house on Cross Street Wednesday to check out a complaint that a child was living in unsafe conditions.

A woman who lives there told officers that Williams had dropped off her child with her and her boyfriend about two months ago and never came back, according to a police incident report. The women knew each other.

The report does not mention the child’s age, only that it is a boy. The boy is about 2 years old, police spokesman Charles Francis said.

Here’s what the place looked like, according to the report:

The woman at the house slept with the child on a mattress on the floor, with no blankets visible, surrounded by open beer bottles and cans on the floor. An uncovered hypodermic needle, a razor blade and small bindles were sitting on the kitchen counter. The items are normally used for narcotics, an officer noted.

Cat food was scattered on the kitchen floor, and the litter box was full of feces. A room past the kitchen was blocked off by a board, and the roof and the walls were separated.

Police called the Department of Social Services, who took the child into protective custody. DSS is not allowed to release any information on the child, according to a spokeswoman.

Police advised the owner of the house of the situation, according to the report.

Williams was arrested in 2011 on a narcotics charge that was dismissed, according to court records.

Reach Dave Munday at 937-5553 or twitter.com/dmunday.