BREA (CBSLA.com) – Police on Monday took a man into custody they said fired on them at a Brea motel when they responded to a report of a suicidal guest.

Police were called to the Hyland Motel at 727 S. Brea Blvd. about 3 p.m., according to Lt. Darrin Devereaux. When the officers arrived, they knocked on the door and shots rang out, he said.

READ MORE: Authorities Arrest Suspect Involved In Pursuit Of Suspected Stolen Vehicle, Possible DUI

“The officers were standing just inches from where the bullet came through,” Devereaux said. “From what I understand, it was just about eye level.”

READ MORE: Californians Could Soon Be Fined For Using Too Much Water

The officers, who escaped injury, retreated for cover and did not return fire, the lieutenant added.

SWAT officers were summoned to negotiate with the unidentified barricaded suspect, Devereaux said.

MORE NEWS: USC Student Second of Three Confirmed Omicron Cases In LA County

The man reportedly was taken into custody about 7 p.m. after being struck by police bean-bag rounds. The man is expected to face charges of attempted murder in firing the shots toward officers.