Washington: Turkish President Recep Tayyip Erdogan has commended US president-elect Donald Trump for putting a CNN reporter “in his place” during a news conference on Wednesday.

Trump had excoriated CNN’s Jim Acosta, refusing to call on him because “your organisation is terrible” and telling the reporter, “I’m not going to give you a question. You are fake news.” Trump was angry that CNN had published a report on alleged Russian efforts to compromise him.

Erdogan also accused “some international organisations” of publishing false information about the 2013 pro-democracy protests in Istanbul’s Gezi Park.

Since an attempted coup against him in July, Erdogan has jailed at least 144 journalists and shuttered or seized control of more than 150 media companies, according to Human Rights Watch.

It’s the latest indication that Trump and Erdogan are feeling their way toward friendship. The pair have a rocky past: In June, Erdogan demanded that Trump’s name be removed from Istanbul’s Trump Towers because of his disparaging remarks about Islam, while Trump has appointed advisers who are actively hostile to Turkey. A video released during last summer’s attempted coup showed retired Army Lt. Gen. Michael Flynn, the national security adviser pick, cheering on the generals who tried to seize control of Erdogan’s government. (Flynn has since made nice, penning an Erdogan-friendly op-ed in the Hill.)

Now things are looking up. After the election, Erdogan called protests against Trump’s victory “a disrespect to democracy.” And during a call just days later, Trump reportedly told Erdogan that his daughter Ivanka admired him. For his part, the president-elect praised Erdogan after the coup attempt - “I do give great credit to him for turning it around,” he told reporters — and said that the United States shouldn’t criticise Turkey for its crackdown.

It’s possible that Erdogan is just trying to get into Trump’s good graces to secure what he really wants: the US government’s agreement to extradite Pennsylvania-based cleric Fethullah Gulen. Gulen, once an ally of Erdogan, is a wealthy Turkish preacher with millions of followers. Erdogan accused him of orchestrating the coup attempt, and the Turkish government has used charges of being a “Gulenist” to purge tens of thousands of people from government jobs, classrooms, the courts and other professions.

Erdogan wants Gulen returned to Turkey to face charges, but US officials have so far refused to arrest the cleric. And even if Erdogan and Trump become close allies, the extradition decision will still be up to US courts.