Turkish President Recep Tayyip Erdogan and U.S. State Secretary John Kerry have agreed to continue a joint fight against terrorist groups in the Middle East as before, during their meeting in Ankara on Friday, said Turkish presidential sources.

The two leaders also confirmed logistical support to Syrian opposition and humanitarian aid to Syria.

Kerry came to Turkey on Friday for a two-day trip following his visits to Iraq, Jordan and Saudi Arabia. Saudi Arabia hosted an international meeting to discuss strategies to fight with extremist Islamic State group.

A Jeddah communique was signed after the meeting which foresees a coordinated campaign including military measures against the IS. Turkey, for its part, refrained from signing the treaty.

Islamic State, formerly known as ISIL, has captured large swathes of land in Iraq and Syria, on which it declared a cross-border Islamic 'caliphate.' Violence instigated by IS militants has displaced an estimated 1.2 million Iraqis.