An alleged thief who preyed on a SoMa benchsitter ended up in handcuffs Tuesday, nabbed just blocks from the scene of the crime.

Police say that the miscreant, whose name has yet to be released, attacked a 27-year-old woman at 7:45 p.m. Tuesday near Fourth and Harrison Streets.

According to the San Francisco Police Department, the 20-year-old suspect approached a woman who was sitting on an area bench and gave her a shove. He then "grabbed [her] cell phone and fled the scene on foot."

The woman contacted police, who swiftly responded, tracking the suspect to the area of Seventh and Stevenson Streets.

Additional details on the suspect and any charges he might face were not available as of publication time, but police say the alleged thief was detained without incident and was booked into San Francisco County Jail Tuesday evening.

Related: Cell Phone GPS Helps SFPD Nab Tenderloin Pickpocket