ISTANBUL — Turkish President Tayyip Erdogan accused the United States and Russia on Thursday of failing to fulfill their part of a deal for Kurdish militia to leave a Syrian region bordering Turkey, and said he would raise this with President Donald Trump next week.

Turkey launched an offensive across its border with Syrian rebels a month ago, seeking to push out Kurdish YPG fighters it sees as a threat to its security. After seizing control of a 75-mile swath of territory, Ankara reached a deal with the U.S. to keep the Kurdish militia out of that area.

Erdogan is set to discuss implementation in talks with Trump in Washington on Nov. 13. Turkish officials confirmed on Wednesday that the visit would go ahead, after a phone call between the leaders.

“While we hold these talks, those who promised us that the YPG ... would withdraw from here within 120 hours have not achieved this,” Erdogan said ahead of a visit to Hungary, referring to a deadline set in last month’s agreement.

After the deal with Washington, Ankara also reached an agreement with Moscow under which the YPG was to withdraw to a depth of 22 mile) along the entirety of the northeastern Syrian border with Turkey.

But Erdogan said this deal had also not been fulfilled, with YPG fighters still in the border strip, adding that he would hold talks with Russian President Vladimir Putin soon after his meeting with Trump.

Ankara considers the YPG a terrorist group because of its ties to Kurdish militants fighting an insurgency in southeast Turkey since 1984. It has been infuriated with U.S. support for the YPG, a main U.S. ally in the fight against Islamic State.

A senior U.S. State Department official said late on Wednesday there has been fighting in the area southeast of the Syrian border town of Ras al-Ain. It “is somewhat in dispute” whether the area is covered by the U.S. or Russian deals, the official said.

“The YPG and all armed forces have certainly withdrawn from the vast majority of our area,” the official said. “Erdogan is never all that specific in his broadside attacks on us or anybody else.”

On Thursday, Erdogan said clashes in Syria were continuing, with 11 fighters from the Turkey-backed rebel Syrian National Army (SNA) killed on Thursday. He said “many more” YPG fighters were killed in the clashes.

Under the two bilateral deals, Ankara stopped its offensive in return for the withdrawal of the YPG fighters. Turkish and Russian soldiers have so far held two joint patrols near the border to monitor implementation of their agreement.

Ankara began its offensive after Trump announced an abrupt withdrawal of 1,000 U.S. troops from northern Syria in early October. Trump has since said that some troops will continue to operate there.

Late on Wednesday, Mazloum Kobani, the commander of the YPG-led Syrian Democratic Forces, said the group was resuming work with the U.S.-led coalition against Islamic State in Syria after a serious of meetings with coalition leaders. Turkey has been outraged by some U.S. lawmakers inviting Kobani, who it views as a terrorist, to Washington for talks on Syria.