DALY CITY (KRON) — A carjacking suspect was detained Wednesday night in Daly City after officers from several jurisdictions searched a neighborhood and ordered residents to take shelter.

The police department said the carjacking occurred Tuesday night in the 800 block of Garfield Street in San Francisco.

The victim told police that while he was in his car, two men came up to him, hit him with a metal object and pulled him out of the car.

Police say the suspects also pointed a gun at the man’s wife and stole her purse.

One of the suspects also hit and injured the woman.

They then left the area in the victims’ car.

The suspects were later spotted in Daly City, but fled from police during a traffic stop.

Police were able to arrest one suspect during the traffic stop, but the second suspect got away.

Daly City police confirmed late Wednesday that the second suspect had been detained by police.

This is developing, check back for updates.