A Turkish prosecutor is investigating 17 Americans, including Sen. Chuck Schumer and former US Attorney Preet Bharara, for alleged ties to a Poconos cleric blamed for unrest in Turkey.

Turkey claims Fethullah Gulen orchestrated the failed coup against President Recep Tayyip Erdogğan last July — and the government has designated ­Gulen’s movement a terrorist organization. Gulen denies the charges.

“Banned by Putin & now accused by Erdogan,” Bharara joked in a tweet Saturday evening. “Not saying pattern, but if [Philippine President Rodrigo] Duterte charges me w/drug trafficking, I’m gonna think something’s up.’’

When Bharara had Reza Zarrab — a dual Turkish-Iranian citizen with close ties to Erdogan — indicted last year, the Turkish president accused Bharara of being a Gulen sympathizer.

Bharara said at the time he had to Google Gulen’s name to learn who he was.

In 2015, Schumer and 37 of his colleagues urged the State Department to address the Erdogan administration’s harassment of journalists. A year later, Schumer criticized Erdogan’s record on free speech.