GOLDEN, Colo. (CBS4) – A man faced a judge Friday after being accused of abusing his girlfriend’s young daughter.

Joshua Gonzales turned himself into authorities Sunday night.

READ MORE: CSU Pueblo Student Robert Killis Arrested After Detectives Find Large Cache Of Weapons In Vehicle, Apartment

Joshua Gonzales (credit: Jefferson County Sheriff’s Office)

Last week, police responded to reports of an injured child outside Doull Elementary School with her mother.

The 2-year-old girl had a lacerated liver and severe head trauma, injuries which doctors called life-threatening.

READ MORE: Semi Strikes I-70 Bridge In Lakewood, Drives Off

Copter4 flew over Doull Elementary School (credit: CBS)

According to the case’s affidavit, the child’s mother initially told detectives her daughter fell down the stairs, and wouldn’t acknowledge Gonzales existed.

It wasn’t until detectives told her how serious her daughter’s injuries were that she admitted Gonzales was her boyfriend, and that he hit the toddler a few days prior because she was crying.

The girl is expected to be okay.

MORE NEWS: Colorado Army Veteran & Afghanistan Interpreter Will Reunite As Neighbors

If convicted, Gonzales could face up to 32 years in prison. He remains in custody on $100,000 bond.