Eric Foster accepted a plea deal in the murder of Trinity Hanna.
Foster pleaded no contest Friday in Kern County Superior Court to first-degree murder in the death of the three-year-old Taft girl in January 2012.
Prosecutors dropped four other counts, including torture, lewd and lascivious acts with a child, assault on a child under age 8 causing death or great bodily injury and cruelty to a child.
Terms of the plea agreement were not officially disclosed, but there are reports that Foster will be sentenced to 25 years to life in state prison.
His sentencing is scheduled for February 11.
Foster has been held without bail since Jan. 26, 2012, the day after the little girl was driven by her mother, Angela Hanna, to a Bakersfield hospital where she was pronounced dead.
Foster was Angela Hanna's live-in boyfriend when the Trinity Hanna was injured and died, according to investigators.
Trinity Hanna suffered injuries to her genitals, intestines and a head injury before she died, according to investigative reports filed in connection with the case.
Less than a month prior to her death, the girl was treated for burns to her back from hot water, allegedly inflicted by Foster.
Foster admitted to inflicting injuries on the girl, according to investigative reports.
Angela Hanna pleaded no contest to four counts of willful cruelty to a child in September 2013 and was sentenced to serve a maximum of 10 years in state prison.
Her plea agreement also required her to testify against Foster at trial.