Turkey's air force has attacked militant groups Islamic State and Kurdistan Workers' Party (PKK) in Syrias and Iraq, respectively, Turkish Prime Minister Ahmet Davutoglu said.

"We have given instructions for a third series of strikes in Syria and Iraq. Air and ground operations are under way. No one should doubt our determination," Davutoglu said after holding a high level meeting on Saturday, according to RTE.

The Prime Minister's office said in a statement that the operations targeted PKK camps, shelters, caves and logistics points in northern Iraq and Islamic State of Iraq and Syria (ISIS) group's locations in Syria near the Turkish border, state-run Anadolu Agency reported.

Davutoglu also said operations against ISIS and PKK would continue as long as there was a threat against Turkey.

"In such an atmosphere, Turkey tries to keep her democracy and development alive... these operations have carried a message to the countries in the region and to international circles: whatever happens in Syria and Iraq, in our border regions, we will not allow them to threaten Turkey's security and will not hesitate to take necessary measures," Davutoglu said, according to BBC News.

The airstrikes sparked protests in the capital Ankara, where police used force to break up a demonstration of around 1,000 people.

Saturday's air strikes on PKK locations in northern Iraq threatened ceasefire between Turkey and the Kurdish militant group. It was the first time Turkey attacked PKK since a peace agreement struck in 2013.

The regional Kurdish government condemned Turkish operations against PKK. The People's Defense Forces (HPG), the military wing of the PKK, threatened to reply, saying that the conditions for maintaining a ceasefire with Turkey were no longer in place, Al Arabiya reported.

Turkish security forces, in a new wave of raids, have detained more than 300 suspected members of ISIS and PKK militant groups on Saturday, HNGN previously reported.