By CBS 2 Chicago Staff

CHICAGO (CBS)– A man is facing charges in the shooting of his ex-girlfriend and their 1-year-old son on Tuesday night in the South Austin neighborhood.

According to police, 30-year-old Michael Williams was charged with two felony counts of attempted first-degree murder, two felony counts of aggravated battery, one felony count of aggravated discharge of a firearm, and one felony count of unlawful use of a weapon.

READ MORE: RealTime Weather Alert: Wet and Windy Through Monday Morning, Flooding Possible

He was ordered held without bail during a bond hearing Thursday afternoon.

According to police, the boy and his 30-year-old mother were at home, in the 5200 block of West Congress Parkway just before 11:45 p.m. Tuesday, when Williams started shooting through the window of the garden unit apartment.

The woman suffered a graze wound. The 1-year-old boy was shot in both legs and was taken to Stroger Hospital where his condition was stabilized and he underwent surgery.

Williams fled the scene and was later arrested during a traffic stop.

Cook County prosecutors said Williams is the mother’s ex-boyfriend. They have three children together, including an 15-year-old, an 11-year-old, and the 1-year-old boy.

The woman was at home with her three children on the night of the shooting, when she received several calls and text messages from Williams, according to prosecutors. She answered one of those calls and spoke to him briefly.

About one minute after she hung up, Williams showed up at the house and began banging on the kitchen door, prosecutors said.

That’s when Williams broke the kitchen window with his hands and fired shots at the woman while she was holding her baby.

READ MORE: 3 Killed, 26 Wounded In Weekend Shootings Across Chicago

Prosecutors said the woman suffered graze wounds to her finger and back, and the baby suffered multiple gunshot wounds to his legs and genital area.

The woman and her three children were able to get out of the home, along with a witness. The mother and baby were taken to the hospital for treatment.

After they were given a description of Williams and his vehicle, police were able to locate him about two hours after the shooting. Prosecutors said he still had blood on his hands at the time, along with a cut to his right hand. He was arrested and police recovered a loaded .40-caliber handgun from his vehicle.

Prosecutors said Williams does not have a valid firearm owners identification card or a concealed carry license.

The 30-year-old woman identified Williams as her shooter from police POD surveillance camera footage of him walking towards her house.

Prosecutors said Williams waived his Miranda rights after he was arrested and admitted to the shooting.

Williams has a prior juvenile felony conviction for armed robbery in 2006, for which he received probation, according to prosecutors. He also has a 2011 conviction for misdemeanor child endangerment, involving his ex-girlfriend and their oldest child, who was 5 years old at the time.

He was also arrested for domestic battery of the same ex-girlfriend in 2012, but he was acquitted.

MORE NEWS: Breach Alarm Sounded At Midway International Airport After Man Says He Left Phone On Plane, Tries To Run Back

Williams was due back in court on June 11.

CBS 2 Chicago Staff