MODESTO (CBS13) – A Modesto man has been sentenced to five consecutive life terms in prison in the 2015 killing of five family members.

Martin Martinez was charged with murder in the July 2015 deaths of his mother, a five-year-old niece, his girlfriend Amanda Crews, her six-year-old daughter and his own six-month-old daughter with Crews.

READ MORE: Evacuations Ordered As Wildfire Burns In Rural Area North Of Chico

RELATED: Hundreds Gather To Remember 5 Killed In Modesto Home

The crimes made Martinez eligible for the death penalty. However, prosecutors arraigned a plea deal where Martinez pleaded guilty to the five murders in exchange for consecutive life sentences.

READ MORE: Crews Battle Multiple Fires Around Sacramento Area As Red Flag Warning In Effect

Martinez also pleaded guilty to a separate 2014 case where he was charged with manslaughter for the death of Crews’ two-year-old son.

With the plea deal, Martinez has been sentenced to five consecutive life terms in prison.

MORE NEWS: 2 Homes Damaged In Elk Grove Fire

He will not be eligible for parole.