A Long Beach man was sentenced to 16 years and four months in state prison Thursday after pleading no contest to carjacking and fleeing police last year, according to the Los Angeles County District Attorney’s Office.

Officials said Aaron Lorta was spotted by police in Boyle Heights on February 9, 2015 in a car they thought may have been stolen.

“When the officers tried to talk to him, Lorta drove away and led police on a high-speed chase that was televised live,” the district attorney’s office stated.

Lorta struck several vehicles before approaching a female motorist and pointing a gun at her, prosecutors said.

“He stole her car and then drove erratically before getting out of the car that was trapped in heavy traffic,” officials stated. “Officers said they saw a gun in Lorta’s hand and opened fire, striking him several times.”

The case was investigated by the Los Angeles Police Department.

Stephanie Rivera is the community engagement editor. Reach her at [email protected] or on Twitter at @StephRivera88.