This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

A 24-year-old East Compton man was sentenced Wednesday to 25 years to life in state prison for fatally beating a 13-month-old boy while the child’s mother was in another room.

Rodrigo Hernandez was found guilty in March of second-degree murder and assault on a child causing death, the Los Angeles County District Attorney’s Office stated.

Hernandez was watching his girlfriend’s young son on June 7, 2015, when the attack occurred, a new release from the DA’s office stated.

Soon after, family members alerted the mother that the child was acting strangely. When the mother went to the child, the boy began to have seizures. Additionally, bruising started to develop on his body, Deputy DA Abigail Baron said.

Paramedics were called to the home in East Rancho Dominguez and the toddler was taken to the hospital where he remained until his death three weeks later, according to the release.

At trial, a coroner’s official testified that the child died from blunt force trauma to his abdomen.