A man working at a SoMa coffee shop had his laptop stolen by a brazen trio of thieves Wednesday, and while police nabbed one, the other two remain on the loose.

According to the San Francisco Police Department, the 26-year-old male victim was working at a coffeeshop on the first block of New Montgomery Street, which is between Market and Mission Streets.

At around 3:20 p.m., police say that a 17-year-old suspect grabbed the man's computer and "tried to flee." The victim confronted the suspect, police say, who was joined by two accomplices who both appeared to be around 18 years of age.

The trio punched the victim, police say, and fled on foot. The victim gave chase, flagging down an SFPD officer on his way.

That officer managed to catch the computer-grabbing suspect, and recovered the victim's laptop for him, according to the SFPD.

But though one of the thieves was arrested, the other two suspects fled, police say. As of Thursday afternoon both remain at large.

Related: Laptops In Restaurants: Nuisance, Or Menace?