ALTON — A judge Monday sentenced an Alton man to 10 years in prison after a prosecutor said the masked defendant shot another man, paralyzing the victim from the waist down.

Lyndon L. Warren, 27, of the 1000 block of College Avenue, pleaded guilty to a count of aggravated battery with a firearm for shooting a man in the chest Dec. 28, 2016, near Central Package Liquor, 1303 Central Ave.

He was originally charged with aggravated battery with a firearm and attempted first-degree murder. The shooting near Central Package happened shortly after two shootings at the A-Town Spot Convenience Store, 1813 Central Ave.

The first two shooting incidents were in the drive-up lane at the convenience store. Warren was accused of two counts of aggravated discharge of a firearm, a count of armed robbery and a count of attempted armed robbery.

Assistant state’s attorney Crystal Uhe told Judge Neil Schroeder that Warren fired at a car occupied by a woman, whom he robbed. He then fired at a second car occupied by two women. “There were also some children in the car,” Uhe said.

She said he then ran down Central to the package liquor store, where he fired on the victim, who was on foot, but did not get any money.

A few minutes later an Alton police officer spotted Warren wearing the same type of mask used in the shootings at A-Town Spot Convenience Store and the Central Package Liquor store. Victims were able to identify the mask.

In exchange for his guilty pleas, prosecutors agreed to drop an attempted first-degree murder charge, an armed robbery charge and an attempted armed robbery charge. Warren will have to serve at least 85 percent of his sentence. Warren was represented by John Stobbs, of Alton.

“Mr. Warren was treated fairly by the State’s Attorney’s office, and we hope this plea brings some solace to the victims and their families. We would would have been prepared for trial of Feb. 20, but this plea is in everyone’s best interest,” Stobbs said.

Warren will get credit for time served since he was taken into custody shortly after the crimes. He has a record of convictions for burglary, residential burglary, forgery and attempted residential burglary. He was on parole when he was charged in the 2016 incidents.