ANKARA: Turkish President Recep Tayyip Erdogan on Monday lashed out at the West for giving Turkey “lessons in democracy,” amid mounting US and EU criticism over an alleged clampdown on press freedoms under his rule.

“Those who attempt to give us lessons in democracy and human rights must first contemplate their own shame,” Erdogan told a meeting of the Turkish Red Crescent in Ankara.

His comments came after US President Barack Obama said Turkey’s approach toward the media was taking it “down a path that would be very troubling.”

Two journalists from the leading opposition daily Cumhuriyet face life in prison after being charged with revealing state secrets over a story accusing the government of seeking to illicitly deliver arms to rebels in Syria.

Erdogan met with Obama in Washington last week but said the US president had not raised the issue in talks and added he was “saddened” that his American counterpart criticized him behind his back.

The president said he had pointed out in other meetings on his trip in Washington that there was press freedom in Turkey, saying that some publications had branded him a “thief” and a “killer” without being shut down.

“Such insults and threats are not permitted in the West,” he claimed.

In a telephone conversation earlier, Prime Minister Ahmet Davutoglu told German Chancellor Angela Merkel that he was unhappy about the raft of stories criticizing Erdogan in German media in recent weeks.

Davutoglu complained such publications “were incompatible with freedom of the press” and said there should be an end to the publication of such “unacceptable” material, he office said.

Turkey last month summoned Germany’s ambassador to protest a two-minute song lampooning Erdogan that was broadcast on German television.