A SWAT team surrounded a home Friday morning in pursuit of a possible second suspect linked to an earlier shooting that claimed the life of one San Diego police officer and seriously wounded a second, officials said.

The standoff began hours after the shooting, which occurred about a half-mile away in the city’s Southcrest neighborhood late Thursday and prompted a massive search for other suspects.

The slain officer was named at a Friday morning news conference as Jonathan DeGuzman, a married father of two young children. The injured officer was identified as Wade Irwin, a nine-year veteran of the San Diego Police Department.

Police Chief Shelley Zimmerman said he is expected to survive after leaving surgery, but “he is not awake.”

“His wife has been by his side all night,” Zimmerman added. “Continues to be by his side. Will be there when he wakes up.”

The officers, both members of the gang suppression unit, encountered the gunman on the street at about 11 p.m. local time Thursday (2 a.m. Friday ET), Zimmerman said, although investigators were determining whether it was a traffic or pedestrian stop.

Almost immediately, the officers — who were in uniform and were driving a marked car — called for emergency cover, she said.

Other officers arrived at the scene and found that the pair had each been shot in the upper torso. DeGuzman was struck multiple times and died at the hospital.

Irwin was rushed to the hospital. The department later tweeted that he was “expected to survive.”

Officers set up a perimeter around the crime scene and were able to locate the suspected shooter, who also had a gunshot wound to the upper torso.

He was not immediately identified, but was described as an Hispanic male. Zimmerman said he was in the hospital in critical condition.

The officers were wearing body cameras during the incident, she added.

Sources told NBC News that he and other suspects may belong to a local gang. There was no early indication that the officers were specifically targeted as in recent police ambush attacks in Dallas and Baton Rouge, Louisiana, the sources said.

Zimmerman said the investigation into the shooting was ongoing, and that the department was “heartbroken” and would be mourning DeGuzman, the first San Diego officer to die in the line of duty since 2011, according to NBC San Diego.

“I can’t begin to put in words the emotions and feelings that surround an event like this,” Zimmerman said. “This is one of the most difficult and heart-wrenching situations for police officers to go through.”

The police chief said she had worked with DeGuzman while she was a lieutenant in the Mid City Division.

“He came to work every single day wanting to make a positive difference in our community,” Zimmerman said.

She lamented the recent police killings across the country, saying that cops “wear a badge with pride … and to have this happen to our police officers, we have seen this happen way too many times just in the past few weeks.”

San Diego Mayor Kevin Faulconer condemned the shooting, tweeting that officers in the city need the community’s support.

“Violence against the men and women who wear the badge is violence against us all,” he wrote.

Republican presidential nominee Donald Trump, who has declared himself the “law and order candidate,” weighed in on the shooting Friday. He tweeted that “it is only getting worse. People want LAW AND ORDER!”