(Adds quotes from Turkish foreign minister, U.S. details)
By Tuvan Gumrukcu and Ece Toksabay
ANKARA, June 4 (Reuters) - Turkey and the United States on Monday endorsed a roadmap for the northern Syrian city of Manbij and underlined their mutual commitment to its implementation following a meeting of their foreign ministers in Washington, according to a joint statement.
The move, long sought by Turkey, comes at a time of strain in bilateral ties over wider Syria policy and over Washington's decision in December to move its embassy in Israel to Jerusalem.
Turkey has been infuriated by U.S. support for the Kurdish YPG militia in Syria, which it views as a terrorist organisation, and has threatened to push its offensive in the Afrin region of northern Syria further east to Manbij, risking confrontation with U.S. troops stationed there. Washington views the YPG as a key ally in the fight against Islamic State.
At their talks in Washington, Turkish Foreign Minister Mevlut Cavusoglu and U.S. Secretary of State Mike Pompeo also discussed cooperation in Syria, along with potential steps to improve security in Manbij, they said in a joint statement.
"They endorsed a road map to this end," the statement said.
The Pentagon has long feared that Manbij could become a flashpoint in Syria, with U.S.-backed forces who cleared the city of Islamic State fighters clashing with Turkish forces. That would put Washington in the unenviable position of either fighting a NATO ally or abandoning its proxy forces in Syria.
The statement did not explicitly spell out how Turkey and the United States would resolve the Manbij issue or detail next steps in the so-called roadmap.
"The aim of this roadmap is the clearing of Manbij of all terror organisations and the permanent instatement of safety and stability," Cavusoglu told a press conference in Washington.
"In the first step, the determination of parameters for common plans for the removal of YPG-PYD from Manbij - you can also call it PKK - will be determined."
The reference to the PKK was a jab at Washington. Ankara considers the YPG to be an arm of the PKK, which both the United States and Turkey consider a terrorist group.
Cavusoglu said Turkish and U.S. units would together implement security and stability in Manbij, and the removal of all YPG organisations from Manbij would be completed.
"In the long term, this road map that will implemented in Manbij will be carried to other regions to implement security and stability in other regions in Syria. Meaning the cooperation will continue in other regions," he added.
The Syrian government, Kurdish militants, Syrian rebel groups, Turkey and the United States all have a military presence in northern Syria.
Relations between Ankara and Washington have deteriorated due to a range of factors, including the sentencing in New York in May of a former Turkish state bank executive to 32 months in prison for taking part in an Iran sanctions-busting scheme, a case Turkey has called a political attack.
Turkey has also caused unease in Washington with its decision to buy S-400 surface-to-air missiles from Russia and drew criticism over its detention of a U.S. Christian pastor, Andrew Brunson, on terrorism charges. He has denied the charges.
Also at issue is the potential sale of F-35 fighter jets to Ankara.
Last month a U.S. Senate committee floated a defense policy bill that included a measure that would prevent Turkey from purchasing Lockheed Martin-made F-35 Joint Strike Fighter jets.
NATO ally Turkey was also faulted for its agreement with Russia in December to buy the S-400 surface-to-air missile system.
The move to buy S-400s, which are incompatible with NATO systems, has unnerved NATO member countries, which are already wary of Moscow's military presence in the Middle East, prompting NATO officials to warn Turkey of unspecified consequences.
Turkey plans to buy 100 of the F-35 jets, and has had talks with Washington about the purchase of Patriot missiles which could be an alternative to the S-400 system.
A Capitol Hill source said that if the F-35 sale were derailed and not replaced by another buyer, each F-35 of the same model would increase in price by about $1 million for the United States and it allies.
Ankara wants the missile batteries to boost defense capabilities amid threats from Kurdish and Islamist militants at home and conflicts across its borders in Syria and Iraq. (Additional reporting by Mike Stone and Phil Stewart in Washington Editing by Gareth Jones and James Dalgleish)