Turkish Foreign Minister Mevlut Cavusoglu said on Tuesday that Ankara could launch a ground operation in Iraq to remove any threats to Turkey that may arise.

“If there is a threat posed to Turkey, we are ready to use all our resources including a ground operation… to eliminate that threat,” Cavusoglu said in an interview with Kanal 24 broadcaster.

“It is our most natural right,” he added.

Cavusoglu referred to Turkey’s ambitious offensive in Syria as an example of how Turkey took the threat to its security seriously.

Since August 24, Ankara has supported opposition rebels to clear the Islamic State group (IS) from its border and halt the westward advance of the Syrian Kurdish militia YPG.

Turkey views the YPG (People’s Protection Units) as a terror group linked to the outlawed Kurdistan Workers’ Party (PKK), which is waging an insurgency in Turkey’s southeast.

In this file photo released on May 20, 2015, provided by the Kurdish fighters of the People's Protection Units (YPG), Kurdish fighters of the YPG flash victory signs as they sit on their pickup on their way to battle against the Islamic State, near Kezwan mountain, northeast Syria. (The Kurdish fighters of the People's Protection Units via AP, File)

In this file photo released on May 20, 2015, provided by the Kurdish fighters of the People’s Protection Units (YPG), Kurdish fighters of the YPG flash victory signs as they sit on their pickup on their way to battle against the Islamic State, near Kezwan mountain, northeast Syria. (The Kurdish fighters of the People’s Protection Units via AP, File)

The PKK is proscribed as a terrorist organization by the United States and the European Union but Washington believes the YPG is the most effective force against IS in Syria.

The PKK has bases in the Qandil mountains in northern Iraq which the Turkish military regularly hits with its warplanes.

Cavusoglu said any threat against Turkey in neighboring regions of Iraq — including the northern district of Sinjar — could draw a response.

“If the threat to us increases (there), we can deal with them using our rights under international law and our strength including a ground operation,” he added.

The minister said Monday the PKK wanted to make Sinjar a “second Qandil,” but such actions would not be allowed and that Turkey would “intervene more actively” to stop it happening.

Ankara also said this week it had already hit IS positions with its artillery at the Bashiqa camp in northern Iraq. But Baghdad has denied Turkey’s participation in military operations to retake the northern city of Mosul.

Cavusoglu previously said that as a result of the artillery fire from the camp, 17 “terrorists” had been killed. He added that four F-16 fighter jets were also on standby to take part in any international coalition air strikes in Iraq.

An offensive to push IS out of Mosul, Iraq’s second-biggest city, has entered its second week with Iraqi forces and Kurdish Peshmerga fighters continuing their advance on the city.

Meanwhile, Turkey’s ramped up rhetoric about further military action continued with Cavusoglu warning that if the YPG militia in Manbij, northern Syria, did not leave the city, “we know how to remove them with our own resources.”