A man was arrested after firing a gun in his Corona del Mar home and barricading himself inside when authorities arrived, police said.

Newport Beach police responded at 8:01 p.m. Wednesday night to calls of shots being fired inside a residence in the 700 block of Marigold Avenue.

It was not immediately known why the suspect, Chase Duncan Philip Rosten, 21 of Newport Beach, fired his gun, said Jennifer Manzella, NBPD spokeswoman.

Officers responded and activated a crisis response unit, which includes SWAT and a crisis negotiation team. Nearby residents were told to stay indoors, and others were told to avoid the area entirely.

There were others in the house at the time Rosten fired his gun, but nobody was injured, Manzella said. Everyone exited the house safely and Rosten barricaded himself until 9:45 p.m., when he surrendered to police. He was taken into custody without incident, Manzella said.