Trump-Erdogan vow friendship despite anger at US arming Kurds
Fresh from securing his grip on Turkey with a referendum to enhance his powers, Erdogan came to Washington with a list of complaints about US support for Kurdish fighters and its harbouring of the alleged mastermind of a failed coup.
But both leaders also wanted to put a brave face on their differences and to renew a key alliance between NATO's leading power and its biggest Muslim member, partners in the fight against the Islamic State group in Syria and Iraq.
"It is absolutely unacceptable to take the YPG-PYD into consideration as partners in the region, and it's going against a global agreement we reached," Erdogan said, referring to the the Kurdish Peoples' Protection Units (YPG) in Syria.
"In the same way, we should never allow those groups who want to change the ethnic or religious structures in the region to use terrorism as a pretext," he added, suggesting that the Kurds are using the anti-IS fight as cover for separatist nationalism.
Trump was one of the first leaders to congratulate Erdogan on winning the April 16 vote to strengthen his office, and his Turkish counterpart repaid the compliment on Tuesday by hailing his host's "legendary victory" in the US presidential race.
"Of course Mr Trump's victory has led to an awakening of new expectations for Turkey and the region it is in. We know the new US administration will not let these hopes be in vain," Erdogan said.
The US leader paid tribute to Turkey's historical contributions to the Western alliance's Cold War battles and promised: "Today we face a new enemy in the fight against terrorism and again we seek to face this threat together."
Attempted coup
Washington and Ankara are bitterly at odds over US support for the YPG, a Syrian armed faction that acts as the main ground force in the Pentagon's plan to defeat the Islamic State group but that Turkey deems a front for the banned Kurdistan Workers' Party (PKK).
And Erdogan remains angry that the United States continues to host Islamic preacher Fethullah Gulen, a former ally who chose exile in Pennsylvania and who has now been accused of masterminding last year's bloody attempted coup in his homeland.
While the pair shared warm words at their joint public appearance, Erdogan again made it clear that he would never accept an autonomous YPG-led Kurdish area in Syria, and that he had "frankly communicated" his expectation that Washington hand over Gulen.
After their appearance, the pair headed into meetings and a working lunch with US Secretary of State Rex Tillerson to dig deeper in to the issues.
"We look forward to having a long and productive discussion," Trump said. "We've had a great relationship and we will make it even better."
Trump hopes to secure at least grudging Turkish agreement not to oppose the US-led drive by YPG fighters to oust the Islamic State from their Syrian stronghold of Raqqa.
Sinjar offensive
In return, Trump will have to give Erdogan assurances that Gulen will be closely monitored while the US courts examine an extradition request and that Washington will eventually endorse a Turkish offensive against PKK bases in Sinjar, northern Iraq.
"That's the main ask," said Soner Cagaptay, director of the Turkish research program at the Washington Institute of Near East Policy. "He's going to want US support for a Turkish operation against Sinjar."
Turkish officials had spoken enthusiastically about Trump's election as a chance to turn a new page.
But hopes could have been dashed last week when the Pentagon confirmed that it has increased its support for the YPG by directly arming its fighters ahead of the battle to oust the Islamic State from its de facto capital in Syria.
Ankara regards the YPG as simply the Syrian arm of the "terrorist" PKK, which has waged a deadly insurgency inside Turkey since 1984, and Erdogan is worried his deadly enemy will find itself in charge of a US-armed statelet on his southern frontier.