The mother of a 6-year old boy and her boyfriend were arraigned Wednesday on charges in connection with the boy's death. 

Geraldine Perkins, 26, and 42-year old Rysheim Smith are charged with endangering the welfare of a child.

Their bail was set at $50,000 bond. 

Officials say Perkins brought her son Zymere to the hospital after finding him unconscious at the family's Harlem apartment.  

Investigators say he had multiple bruises on his body and suffered a head injury.

Prosecutors say Perkins told authorities Smith beat the boy with a broomstick, then hung him by his shirt on a bathroom door hook. 

She also said Smith had repeatedly beaten Zymere in the past. 

"I want to know what happened here. It is unacceptable that this young man was lost," said Mayor Bill de Blasio. "And it's not right to pre-judge. There is a very thorough investigation that has already begun."

The medical examiner is looking into the exact cause of death. 

Police say once autopsy results are in, the charges are expected to be upgraded to homicide. 

The Department of Investigation says it's looking into how the Administration for Children's Services handled the matter. 

Editor's note: An earlier version of this story included a photo that incorrectly identified Rysheim Smith. The image was not of Mr. Smith and NY1 apologizes for the error.