Police in San Antonio, Texas said a man killed another man who allegedly stole his truck after tracking the theif with an Apple AirTag.

The San Antonio Police Department said the incident happened on Wednesday on the city’s southeast side at a shopping center, according to KHOU. The truck’s owner used an Apple AirTag tracking device to see where the truck was located.

Officials said that they received a stolen vehicle report around 1 p.m. on Wednesday out of a home in north San Antonio.

Police said that the truck’s owner used the AirTag to track the vehicle nearly 20 miles from where it was stolen.

The alleged thief wasn’t aware that the vehicle was being tracked, officials said.

Authorities found several bullet casings and two cars with their windows shot out.

Officials are determining if the suspect will be charged in the fatal shooting.