A career criminal who carried on an illicit affair with a married woman threatened to send photos of them having sex to her husband unless she paid up, Long Island police said yesterday.

Adam Schwartz, 36, was arrested on Saturday and charged with two counts of grand larceny as extortion after he was lured to a sting “payoff” at a doughnut shop, said Nassau County Detective Lt. John May.

Schwartz, of Plainview, called the victim, said he “wanted money” and claimed to have photos that were “evidence of their relationship,” May said.