ANKARA, Turkey -- Turkish Prime Minister Binali Yildirim on Tuesday criticized U.S. presidential candidate Hillary Clinton for comments suggesting that she would consider providing arms to support to Kurdish fighters in Syria.

For the United States, the Syrian Kurdish militia has been the most effective force on the ground against ISIS in Syria, but Turkey considers the force a terrorist organization because of its affiliation to Turkey’s outlawed Kurdish rebels. Turkey strongly objects to U.S. moves to supply the group with weapons saying they often end up in the hands of the Kurdistan Workers’ Party, or PKK, which has been fighting an insurgency since 1984.

The issue has strained relations between the two NATO allies.

Clinton said during Sunday’s debate with Donald Trump that she favored continuing the Obama administration’s policy of funneling weapons to Iraq’s Kurdish armed forces and also hinted that she would consider extending that support to Syrian Kurdish fighters. Trump had nothing to say regarding the Kurds during the debate, but in July he called himself “a big fan of the Kurds.”

Clinton’s comments prompted an angry response from Yildirim who questioned the “morality” of “fighting a terrorist organization with another terrorist organization.”

“Isn’t America our ally? Isn’t it our NATO ally? Isn’t it our ally in the region? What does it mean to support weapons with weapons?” Yildirim asked.

He added: “Where in the world have you ever seen this? How moral is it, how ethical is it, how right is it to fight a terrorist organization with another terrorist organization, to defeat a terrorist organization with another terrorist organization?”