LOS ANGELES (CBSLA.com) — A South Los Angeles woman convicted of fatally beating a foster child she was trying to adopt was sentenced on Friday.

Kiana Barker, 34, will spend 25 years to life in state prison in connection with the child’s death, authorities said.

READ MORE: Thousands Attend Procession Carrying Remains Of 20-Year-Old Lance Cpl. Kareem Nikoui, Killed In Kabul, To Riverside Mortuary

Back in 2010, the former daycare owner dialed 911 to report that her 2-year-old foster child was non-responsive. Barker told detectives she accidentally hit the child in the head with a hammer when she was stuck in a bed-frame.

The city shut down the daycare.

READ MORE: Robert Durst, New York Real Estate Scion, Convicted Of 1st Degree Murder In Death Of Longtime Friend Susan Berman

Barker was found guilty in October 2013 of second-degree murder, assault on a child causing death, and child abuse.

Barker’s then-boyfriend, 42-year-old James Dewitt Julian, pleaded no contest to one felony count of accessory after the fact.

MORE NEWS: Stars Show Out To Celebrate Emmy Nominations Ahead Of Big Show

He was sentenced to three years in county jail, authorities said.