LOS ANGELES — A man stabbed a doctor and two nurses inside a Southern California hospital Friday before barricading himself inside the facility, authorities said. He remained inside a room for hours before police arrested him.

The Los Angeles Police Department got a call around 3:50 p.m. about a possible stabbing at Encino Hospital Medical Center in the San Fernando Valley, Officer Jeff Lee told USA TODAY. 

The man had parked his car in the middle of a street and went to the emergency room, where he asked for treatment for anxiety before stabbing the doctor and nurses, authorities said.

All three victims were transported to a local trauma center in critical condition, Nicholas Prange, a spokesman for the Los Angeles Fire Department, told USA TODAY.

All three were later listed in stable condition at Dignity Health Northridge Hospital Medical Center, the Associated Press reported.

Helicopter footage from taken by local TV stations showed one injured employee in blue medical scrubs being wheeled out of the hospital on a stretcher. The front of the hospital was blocked with yellow caution tape and about a dozen emergency vehicles.