CHICAGO (CBS) — A St. Charles man was taken into custody after allegedly pointing a gun at a woman outside of a Walmart in the western suburb Thursday night.

Frederick J. Murphy II, 61, has been charged with aggravated assault and disorderly conduct misdemeanors.

READ MORE: Chicago Weather: Weekend Warmup Continues

St. Charles police released a surveillance image of the man on Friday in hopes of receiving information on his whereabouts. A woman had reported that the man had approached her and displayed a gun outside the entrance of the store at 150 Smith Road around 10:15 p.m. Thursday, and she ran back into the store.

St. Charles Suspect

READ MORE: At Least 10 Shot, 1 Killed In Weekend Violence In Chicago

After the image was released, police say, a City of St. Charles employee reported seeing Murphy at City Hall around 8 a.m. Friday. The employee said the man had been there to make a payment and matched the photo he had seen on social media.

Police reviewed surveillance footage from City Hall, which showed a person and vehicle matching that of the initial description. St. Charles police took Murphy into custody at his home around 5 p.m. Friday and a pellet gun was later recovered.

Murphy posted bond and has a pending court date with DuPage County.

MORE NEWS: Bill For Reparations For Black Evanston Residents Soon To Go Up For Vote; Some Say It's Insufficient And Could Make Things Worse

St. Charles police say they don’t have information on a possible motive at this time.