A suspect was arrested after Seattle police and BMW worked together to track down an alleged car thief and lock him inside the stolen vehicle.

“Hours earlier, the thief had reportedly been out prowling cars with some friends in the 4300 block of 8th Avenue Northeast when he came upon an unlocked BMW 550I in a parking garage. After discovering a set of keys in the vehicle—the BMW’s owner had gotten married a day earlier and loaned the car to a friend, who mistakenly left a key fob inside—the suspect hopped in the driver’s seat and sped off,” wrote Jonah Spangenthal-Lee, deputy director of communications for the Seattle Police Department.

“When officers pulled up on the block around 5:45 AM, they found the BMW parked in an alley, still running, with a man asleep in the driver’s seat,” continued Spangenthal-Lee. “BMW employees were able to remotely lock the car’s doors, trapping the suspect inside, presumably while hissing something terrifying like ‘I’m not locked in here with you, you‘re locked in here with me’ into the car’s sound system.”

The alleged thief was also arrested on a drugs charge as police officers reportedly found a “small amount” of methamphetamine on the suspect.

Charlie Nash is a reporter for Breitbart Tech. You can follow him on Twitter @MrNashington or like his page at Facebook.