Getting your Trinity Audio player ready...

Anthony Sosa was making a rap video outside a North Chicago apartment complex when he was gunned down last September, authorities said.

Now the lawyer representing the man charged with the murder, 18-year-old Jeremy Maxwell, is asking a judge to throw out statements made to police.

Sosa, 23, of Waukegan, was fatally shot in the head about 4:15 p.m. Sept. 12, 2015, outside the Hervey Village apartments in the 1400 block of Hervey Avenue, according to police and prosecutors. Another man participating in the project was wounded.

Maxwell was charged with first-degree murder, aggravated battery involving the discharge of a firearm and aggravated discharge of a firearm. Because his indictment included charges that he personally fired the shot that killed Sosa, he faces a mandatory sentencing range of 45 years to life in prison if convicted at trial, according to prosecutors.

On Thursday, Assistant State’s Attorney Robert Money said Maxwell has since been charged with aggravated battery after alleged altercations with corrections officers in Lake County Jail.

Maxwell is scheduled to go to trial Nov. 28, but it is unclear how the request to dismiss the statements made to police will affect the trial date.

Attempts to reach defense attorney Evan Atwood were unsuccessful.

Police and prosecutors have not released a motive for the shooting.

A witness who lives in the apartment complex where the shooting occurred said there was a crowd of men on the street “shooting what looked like a rap video.”

He said he heard multiple gunshots outside of his apartment, and that he then saw a man lying on the street with a gunshot wound to the head.

Prosecutors said video from surveillance cameras at the complex captured the shooting, and Maxwell was arrested several days later.

Maxwell’s next court appearance is scheduled for Sept. 6.

[email protected]

Twitter @jimnewton5