President Erdogan delivers a speech during the 16th Anniversary of his party's founding in Ankara on August 14, 2017 | Adem Altan/AFP via Getty Images Erdoğan: Don’t vote for Merkel or Schulz Turkish president calls mainstream German parties ‘enemies of Turkey.’

Turkish President Recep Tayyip Erdoğan called on Turks in Germany to support political parties “not hostile to Turkey” in the upcoming election, Anadolu Agency reported Friday.

Speaking to reporters as he left a mosque in Istanbul after Friday prayers, Erdoğan criticized German Chancellor Angela Merkel's Christian Democratic Union, accusing the party of reneging on its promise to allow Turks visa-free travel to the Schengen area and stalling Turkey's application to join the European Union.

“I would say to all compatriots in Germany, do not support [the Christian Democrats],” the Turkish president said. “Not the Christian Democrats, not the SPD [Social Democrats], not the Greens. They are all enemies of Turkey.”

The SPD and the Greens have regularly criticized Erdoğan for jailing German activists and journalists. Foreign Minister and SPD member Sigmar Gabriel said last month that Turkey had “abandoned the ground of European values” by jailing “innocent visitors to their country on outrageous charges.”

Greens leader Cem Özdemir, who is of Turkish origin, issued similar criticisms. Erdoğan in turn called Özdemir a "so-called Turk."

Erdoğan blamed Germany for a downturn in bilateral relations and said it was up to the Germans to fix it. "Turkey has no responsibility," the Turkish president said. "If anyone is responsible, it is Germany itself."

He complained that German authorities are not doing enough to assist Turkey in its push to prosecute members of the Gülen movement, which it blames for a failed coup last year.

The German election takes place September 24.