PORTLAND, Ore. (KOIN) — Police arrested a man who they say barricaded himself at a home after waving a gun in the library at Portland Community College.

Portland police Sgt. Chris Burley said officers went to the library Tuesday after getting a report of an armed man.

The man was later identified as 39-year-old Nathaniel Irving.

Burley said the officers were told Irving ran from the scene, waving the weapon, after college security officers responded to an employee’s request for assistance.

Police traced the route Irving took out of the library and found a firearm.

Soon, a North Portland homeowner told officers that Irving entered his house without permission.

Burley said Irving barricaded himself in an upstairs bedroom, but a team of officers that included crisis negotiators arrested him.

Irving has been booked into the Multnomah County Jail on charges of felon in possession of a firearm, 1st-degree theft, possession of a loaded firearm in a public building and possession of a loaded firearm.KOIN 6 News contributed to this report