CHICAGO (CBS) — A standoff with a gunman in southwest suburban Lockport came to a peaceful end after nearly six hours Monday night, when a man with an assault rifle surrendered to police.

Around 4:30 p.m., the Will County Sheriff’s SWAT team responded to a call of shots fired near Lawrence Avenue and Bruce Road in unincorporated Lockport Township.

READ MORE: DuSable Museum Of African American History To Reopen On Juneteenth

When they arrived, officers saw an AR-15 assault rifle inside a home in the 2700 block of Lawrence Avenue. A short time later, a man who lived in the home called police and began making threats.

The man refused to speak to deputies at the scene, and SWAT teams surrounded the home.

READ MORE: City Council Committee Advances Plan To Cut Off Retail Liquor Sales At Midnight -- Will It Make A Difference For Crime?

Police said the man surrendered to deputies around 10 p.m.

No one was injured during the standoff.

MORE NEWS: Weapons Cache Found In Avalon Park

An assault rifle was found at the home.