Updated

A Los Angeles police officer who was shot Thursday during an exchange of gunfire with a homicide suspect is expected to make a full recovery, the police chief said.

The SWAT officer was shot in the hip after a brief pursuit in El Segundo.

The suspect was one of four people wanted in connection with a gang-related killing in late March, Chief Charlie Beck said.

The suspect, whose name was not immediately released, led the officers on a brief pursuit before he left his car with a handgun and opened fire, the chief said.

JUDGE WON'T REVOKE BOND FOR MOTHER OF 'AFFLUENZA' TEEN

la cop 1

Law enforcement personnel gather at the scene where a Los Angeles police officer was shot following the pursuit of a homicide suspect that ended in El Segundo, Calif., Thursday, June 29, 2017. Officials say the suspect was being pursued by a multi-agency task force but couldn't immediately provide additional details. Los Angeles Police Chief Charlie Beck said the officer was wounded in the hip and will recover. The suspect was also shot and wounded. (Scott Varley/Los Angeles Daily News via AP)

Several Los Angeles and Hawthorne police officers returned fire, wounding the man, Beck said.

The suspect was taken to a hospital in serious condition and will be arrested in connection with the March killing and for investigation of attempted murder of a police officer, the chief said.

The name of the wounded officer was not immediately released. Beck visited him at the hospital and said he was stable and his wife, a fellow LAPD officer, was at his bedside.

"We anticipate a full recovery at this point," Beck said.

The Los Angeles Police Protective League, the union that represents police officers, said the shooting is a "somber reminder that police work is inherently dangerous and deadly."