A 35-year-old man is accused of shooting his ex-girlfriend Monday morning in west suburban Elmwood Park.

Christopher Burgos shot his ex-girlfriend about 4 a.m. in the 7500 block of West Fullerton Avenue in Elmwood Park, according to a statement from Elmwood Park police.

She was in a bed with their two children when Burgos shot her in both legs, police said. The children were not injured.

She was taken to Loyola University Medical Center in Maywood for treatment and released Monday afternoon, police said.

On Tuesday, authorities obtained an arrest warrant for Burgos, who currently lives in Elmwood Park, police said. Burgos turned himself in about 4 p.m. Tuesday with the assistance of his attorney.

Burgos was charged with attempted murder, home invasion and aggravated battery with a firearm, all felonies, police said.

His bail was set at $150,000 at his initial court appearance, police said.