The Turkish foreign ministry on Thursday summoned French Ambassador to Turkey Charles Fries following a French resolution condemning Turkey’s military offensive in northeast Syria, state-run Anadolu news agency reported.

The move follows a statement by the ministry earlier on Thursday blasting France over the resolution and accusing Paris of the desire to establish a terrorist state in the war-torn country.

The French National Assembly on Wednesday approved unanimously a resolution condemning the Turkish offensive launched on Oct. 9 to create a safe zone along its border with Syria that is cleared of Syrian Kurdish People’s Protection Units (YPG) forces, where millions of Turkey’s Syrian refugees plan to be resettled.

The French bill calls for an immediate end to the operation while reiterating “France's unwavering support for the YPG operating under the name of SDF".

“We strongly condemn and reject decisions by the French Senate and National Assembly about Operation Peace Spring,” the Turkish foreign ministry said in an official statement.

“It is obvious that France took this decision after its plan to establish a terrorist state in Syria failed," it added.

Turkey sees the YPG, which forms the bulk of the Syrian Democratic Forces (SDF), as a terrorist organisation and existential threat due to its links to the outlawed Kurdistan Workers’ Party (PKK), an armed group that has been at war for Kurdish self-rule in Turkey for over 30 years.

France was among the first countries to strongly condemn Turkey's offensive targeting the YPG, which has spearheaded the U.S.-led war on the Islamic State (ISIS) in the region.

France later implemented restrictions on arms exports to Turkey.