NEW YORK (CBSNewYork) – Police caught a pair of armed robbery suspects in Central Park with the help of cellphone technology.

One of the teenage suspects was clad with a mask and armed with a .380 caliber handgun when he robbed a man of his iPhone and wallet Thursday night, police said. The victim used a passerby’s cell phone to call 911.

READ MORE: Federal Child Tax Credit Program Expanding: What You Need To Know To Get Your Benefit

Members of the Central Park Precinct’s anti-crime team immediately received alerts on their department-issued cellphones.

READ MORE: New Video: Off-Duty NYPD Officer Bashed With Wooden Stick In Bronx Beating

“At one point during the canvas, the officers used the Find My iPhone app and they were able to locate where the phone was pinging,” Captain Peter Andrea told WCBS 880’s Myles Miller.

Police tracked the suspects to West Drive and East 96th Street.

“Officers also utilized the My iPhone app to ring the phone, and it rang in the front pocket of the suspect,” Andrea said.

MORE NEWS: NYC Primary: New Yorkers Head To Polls To Pick Next Mayor, Candidates Make Last-Minute Campaign Push

Police found the gun in a bag held by the robber’s 15-year-old accomplice, Miller reported.