CHICAGO (CBS) — A man is facing charges after he flashed a gun at another person Friday evening in west suburban St. Charles.

Erik R. Derby, 36, was charged with aggravated unlawful use of a weapon, unlawful restraint and resisting arrest, according to St. Charles police.

READ MORE: SUV Crashes Into Jefferson Park Home, Landing In Basement; Driver Hospitalized

Derby, of Aurora, demanded he test drive another person’s car as they were leaving a party in the 1500 block of Allen Lane, police said. When the person refused, Derby flashed a gun.

The person returned to the party with Derby and a fight started, according to police. Other people at the party held Derby and took his weapon when it fell to the ground.

READ MORE: COVID-19 Update: Indiana Reports 736 New COVID-19 Cases, 17 Additional Deaths

When officers arrived, Derby became agitated and refused to obey commands from police before he was eventually arrested, authorities said. The gun wasn’t fired or pointed at anyone at any point during the incident.

Derby had a valid firearms owner ID card, but he didn’t have an Illinois Concealed Carry License, police said.

He was later released from the Kane County Adult Justice Center, according to the Kane County sheriff’s office.

MORE NEWS: Coronavirus In Illinois: Officials Report 1,249 New COVID-19 Cases, Including 22 Additional Deaths

(Source: Sun-Times Media Wire © Chicago Sun-Times 2017. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.)