Story highlights

(CNN)Turkish President Recep Tayyip Erdogan appeared to give the United States an ultimatum, demanding the extradition of a cleric he believes is behind the failed July 15 coup attempt.

Erdogan said the US would eventually have to choose between its relationship with Turkey and Fethullah Gulen, a former Erdogan ally who has been in self-imposed exile in Pennsylvania since 1999, the state-run Anadolu news agency reported Wednesday.

"Sooner or later the US will make a choice. Either Turkey or FETO," Erdogan said, in reference to the movement headed by Gulen.

Erdogan: FETO the same as ISIS, PKK

"Those who follow the Pennsylvania-based charlatan (Gulen) who sold his soul to the devil, or Daesh, which shed Muslim blood, or the PKK that also has shed blood for 30 years to divide the country and the nation, will all lose in the end," Erdogan was quoted as saying, referring to ISIS by its Arabic acronym.

JUST WATCHED

President Erdogan to rally: I support death penalty

MUST WATCH

President Erdogan to rally: I support death penalty02:07

In the wake of the failed takeover, the government has conducted massive arrest campaigns, detaining thousands of individuals from the military, schools and universities, health services and the media.