A man accused of shooting a police officer in the face and then leading SWAT on an hours-long standoff in southern California is in custody.

The Arcadia Police Department was initially dispatched to the scene around 5:40 p.m. Wednesday, responding to a call of a man with a firearm that was "disturbing the peace," Arcadia PD Lt. Brett Bourgeous said during a press conference. 

The disturbance involved two brothers, one of which had a firearm, Bourgeous said.

When officers arrived, the armed man started shooting, hitting one of them in the face. A female family member and a second civilian were also shot during the exchange of gunfire, FOX 11 Los Angeles reports.

TEXAS JUDGE BLOCKS RELEASE OF UVALDE ELEMENTARY SCHOOL SHOOTING RECORDS REGARDING STATE POLICE RESPONSE

The second civilian is not the family member of the suspect and was likely hit by shrapnel, an Arcadia police spokesman said.

ARCADIA SHOOTING: SWAT STANDOFF UNDERWAY, SUSPECT BARRICADED AFTER POLICE OFFICER SHOT, 2 OTHERS INJURED

An aerial photo of police cars outside of the Arcadia home

SWAT was in a standoff with a suspect after a shooting left a police officer and two others with injuries in Arcadia, California on Aug. 10, 2022.  (Fox 11)

The triple shooting prompted the SWAT response. The standoff extended just past 10:30 p.m., FOX 11 reported. 

CLICK HERE TO GET THE FOX NEWS APP

A Thursday morning tweet from the Arcadia Police Department thanked all assisting agencies. 

The conditions of the three shooting victims taken to the hospital and the identity of the officer injured have not been released. 

The suspect in custody has not been identified. 

Fox News' Lawrence Richard contributed to this report.