Forced into battle against Islamic State as it presses on Turkey's borders, President Tayyip Erdogan is seizing the chance to keep another foe in check, bombing Kurdish militants he sees as a threat to the integrity of the Turkish state.

Casting the operations as a war on terrorist groups "without distinction," Turkey launched airstrikes against Islamic State in Syria for the first time last week and granted the U.S.-led coalition access to its air bases after years of reluctance.

It also bombed camps in northern Iraq belonging to the militant Kurdistan Workers Party (PKK) for the first time in at least three years. Hundreds of suspected Islamic State and PKK members have been rounded up in raids across Turkey.