ST. PETERSBURG — While his girlfriend was in labor, a St. Petersburg man hurt her 2-year-old son so badly the boy had to be placed in a body cast, police said Wednesday.

Deontray Antwan Bonner-Walker, 34, was left in charge of the boy for hours Saturday afternoon, according to police, when his girlfriend went into labor and was taken to a hospital.

The child's great-grandmother, who had taken the mother to the hospital, told police she later received a call from Bonner-Walker that there was something wrong with the 2-year-old's leg.

They took the toddler to All Children's Hospital, where Bonner-Walker told authorities he did not know what had happened to the boy.

Doctors examining the boy determined he had a broken thigh bone, a fractured rib, lacerated liver and traumatic injury to the pancreas, as well as bruising to the feet, shin, chest and right eye, according to police. Investigators said the boy was a victim of multiple acts of blunt-force trauma.

Bonner-Walker is now facing a charge of aggravated child abuse.

Attempts to reach the family Wednesday were unsuccessful. A woman at the great-grandmother's home declined through a closed door to comment.

Investigators found that by living with the woman, Bonner-Walker was violating pretrial release conditions from a previous domestic violence charge involving her, according to police. Arrest records show he faced several charges, including aggravated battery on a pregnant female and felonious possession of a firearm on Oct. 26, but he was released on bail Oct. 31.

State records show Bonner-Walker has a lengthy criminal history dating to 1999, when he was 19, that includes numerous drug charges. He served time in state prison from April 2008 until May 2010, for selling cocaine and crack cocaine.

State records also show that criminal charges against him were dropped seven times, and that adjudication of guilt was withheld another six times.

Times reporter Katie Mettler and news researcher Carolyn Edds contributed to this report. Contact Zachary T. Sampson at zsampson@tampabay.com. Follow @ZackSampson.