Officers posed as a woman on a dating app to lure an accused armed robber to a Lafayette hotel, where police found him in possession of an iPhone stolen at gunpoint from a man about two hours before, according to a news release from the Lafayette Police Department.

Leroy Hebert, 27, was arrested around 1 a.m. Tuesday on a count of armed robbery when he found police in the hotel room where he expected to meet a woman, police said.

The owner of the stolen iPhone told police he was robbed at gunpoint by two men around 11 p.m. Monday in the 300 block of Belleau Street.

The victim was later able to access his phone activity online and found a “selfie” picture Hebert took on the phone.

The second robber remains unidentified. Anyone with information about the robbery is asked to call the Lafayette Police Department or the anonymous Crime Stoppers tip line at (337) 232-8477.