San Diego  An 18-year-old man suspected of trying to kill two people during a carjacking attempt in Imperial Beach last summer was arrested Wednesday after a 90-minute standoff with law officers in southeastern San Diego, authorities said.

Treviyon Deshawn Rew, who was out on bail awaiting trial on similar charges in a National City case, was arrested at his grandfather’s home on South 39th Street in the Mountain View neighborhood, said sheriff’s Sgt. Russ Moore.

Moore said the San Diego Fugitive Task Force surrounded the house about 11:30 a.m. after Rew, who had been outside, ran indoors. He refused to come out until about 1 p.m. when Moore threatened to call SWAT and fire tear gas into the house.

Sheriff’s officials said Rew is suspected in a July 24 attempted carjacking on 10th Street in Imperial Beach, where shots were fired at two people.

That incident was two days after a man was shot six times during a carjacking in National City.

National City police Sgt. Dennis Leach said the victim survived and Rew was arrested about a week later at a home in Mountain View. He was charged with attempted murder and robbery and released on bail, Leach said.

Rew now is being held without bail on two counts of attempted murder, attempted carjacking and assault in the Imperial Beach case.