WINDHAM — Windham police say they have identified the man accused of posing as an undercover sheriff’s deputy to get money from another man.

Police said they are not identifying the man because he has not yet been charged.

The victim told police on Nov. 21 that a man had come to his door the previous night claiming to be an undercover Cumberland County sheriff’s deputy. He told the victim he would be arrested unless he gave the man money, police said.

The victim drove the suspect to a TD Bank ATM in North Windham, where he withdrew an undisclosed amount of money. The victim then dropped the suspect off near Lampron’s Mini Mart on Route 115 in Windham, police said.

Media coverage of the incident and a security photo taken at the ATM led to tips that identified the suspect, police said.