BEAUMONT, Texas (CBSDFW.COM/AP) — A teenage boy has been sentenced to life in prison for fatally shooting a 19-year-old pregnant woman in 2017.

The Beaumont Enterprise reports 17-year-old Corey Spencer admitted for the first time during Wednesday’s sentencing that he shot Kera Teel during the attempted car robbery two years ago.

READ MORE: Frisco Memorial Girls' And Boys' Basketball Teams No Longer The New Kids On The Block

Spencer has been in and out of juvenile detention for burglaries he’s been involved in since he was 10 years old.

READ MORE: Loophole In Federal Surprise Medical Bill Ban Leaves Patients At Risk Of High, Unexpected Ambulance Bills

The teen has no chance of parole for 30 years and will be moved to a facility for youthful offenders.

MORE NEWS: 1 Dead, 1 Injured After Shooting In Forest Hill

(© Copyright 2019 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)