A policeman has been arrested after a student in California used the "gender swap" filter on Snapchat to pose as an underage girl.
The 40-year-old policeman was arrested after exchanging explicit messages with what he thought was a 16-year-old girl.
"Robert Edward Davies, an officer with the San Mateo Police Department, was arrested Thursday on suspicion of contacting a minor to commit a felony," San Jose Police Department said in a statement.
The student's revealed in an interview with NBC Bay Area, who only wanted to be identified by his first name, Ethan, said that his vigilant effort was sparked after a friend told him she was sexually assaulted as a child. He wanted to pose as an underage girl online to catch sexual predators.
Police also revealed that the 20-year-old student took a selfie with Snapchat's new gender-swapping filter and created a 19-year-old female Tinder identity named "Esther."