Turkey and the United States signed an agreement Thursday to train and arm Syrian rebels fighting the Islamic State group, said the U.S. Embassy in Ankara.

The two countries have been in talks about such a pact for several months. The deal was signed Thursday evening by U.S Ambassador John Bass and Turkish Foreign Ministry undersecretary Feridun Sinirlioglu, said Embassy spokesman Joe Wierichs. He gave no further details.

Sinirlioglu called the deal "an important step" in the strategic partnership between Turkey and the United States, according to Turkish state-run Anadolu Agency.

The Turkish government has said the training by U.S. and Turkish soldiers could begin as early as next month at a base in the central Anatolian city of Kirsehir, and involve hundreds of Syrian fighters in the first year. The U.S. has said the goal is to go after the Islamic State group, but Turkish officials have suggested that the trained rebels could also target the Syrian government of President Bashar Assad.

With its 750 mile border on Syria, Turkey is a key part of the U.S.-led coalition against the Islamic State group. But negotiations with the U.S. over what to do about the Islamic militants have been fraught with disagreement — with Turkey insisting that the coalition needs to also target the Assad government.

On Tuesday, Turkish Foreign Minister Mevlut Cavusoglu said in a press conference that Turkey expected that the trained rebels will also fight the Syrian regime. Turkey is already training Kurdish Peshmerga fighters in Northern Iraq, who have been battling Islamic State militants.

It is not clear who will decide which rebels will receive the training. U.S. and Turkish officials have not always been in agreement about which of the disparate rebel groups in Syria should be considered moderate.

On Wednesday, the U.S. Defense Department said that the U.S. has screened about 1,200 moderate Syrian rebels to participate in training in Turkey, Saudia Arabia and Qatar. The U.S. Congress passed legislation authorizing the training and providing $500 million for training about 5,000 rebels over the next year.

___

AP writer Suzan Fraser contributed from Ankara.

Get the Monitor Stories you care about delivered to your inbox. By signing up, you agree to our Privacy Policy

___

Follow Desmond Butler on Twitter.