SAN JOSE — A man wanted in a fatal downtown San Jose shooting was caught after he successfully fled to Mexico, then apparently got in enough trouble there that Mexican authorities dropped him off at the California border, officials said.

What exactly 19-year-old Daniel Gebrehiwet Zeratsion did to attract the attention of Mexican law enforcement remains unclear. But he eluded capture for over a week until his run-in south of the border, leading to his arrest Tuesday in the shooting death of 20-year-old Marina resident Myla Thi Dang.

Dang died the afternoon of July 3 at a home on South 10th Street between Reed and Margaret streets on the southern edge of downtown San Jose, according to San Jose police. Officers were called to perform a welfare check after neighbors reported hearing “loud bangs” coming from the home, and found Dang inside suffering from at least one gunshot wound.

Early on in the investigation, homicide detectives identified Zeratsion, a San Jose resident, as a suspect in the shooting. Police said the suspect and victim knew each other, but did not elaborate on their relationship.

Police sent out a bulletin to state and federal law-enforcement agencies alerting them to a $2 million arrest warrant for Zeratsion.

There would be no sign of the suspect stateside until about 3:40 p.m. Tuesday, when Mexican police brought Zeratsion to the doorstep of the United States. More specifically, to U.S. Customs and Border Protection in southern San Diego.

“Mexico authorities turned over a man to CBP officers at the San Ysidro port of entry’s PedWest facility,” agency spokeswoman Jacqueline Wasiluk said in an email to this news organization.

The warrant for his arrest showed up in a records check after border agents received his identification information.

“The officer checked Zeratsion’s name against law enforcement databases and was alerted that he was wanted,” Wasiluk said. “CBP officers later transported him to San Diego County Jail to await extradition.”

Zeratsion was in the San Diego Central Jail until Friday morning, when records show he was released to police custody. San Jose homicide detectives traveled to San Diego to secure his transport back to San Jose, which is expected by early next week barring any complications, Officer Albert Morales said.

Anyone with information about the case can contact SJPD homicide Detective Sgt. Mike Montonye or Detective Jason Tanner at 408-277-5283. Silicon Valley Crime Stoppers at 408-947-STOP or svcrimestoppers.org. Tipsters may be eligible for a cash reward.