ISTANBUL — Turkish fighter jets carried out dozens of airstrikes in Northern Syria and Iraq Sunday in Turkish officials called it an antiterrorism campaign in which militants were uncovered. in Istanbul.

“The scoundrels are being held accountable for the treacherous attacks!” The Turkish Defense Ministry wrote on Twitter Before dawn Sunday in A post that includes a photo showing a warplane flying. The strikes were intended to target shelters, tunnels, and ammunition dumps and According to the ministry, training camps are allowed.

Two dozen people were killed. Different groups reported different numbers. and They might not have acknowledged all the fighters they lost.

The KurdishA militia administering northeastern Syria claimed that 14 civilians were killed. and One fighter had been killed. The group, also known as the Syrian Democratic Forces or S.D.F., promised to strike back at them. TurkeyIt was, however, not clear when or how.

“These attacks will not remain unanswered,” The S.D.F. General Command in A statement. “We will respond effectively and efficiently at the right time and place.”

There was a sharp increase in violence. in tensions between two forces that have long hated each other — and Both have strong relationships with the United States.

The United States and the S.D.F. worked together in Syria. to combat the jihadists affiliated with the Islamic State. and Only a small portion of U.S. troops remains in The area that the group holds. in Northeastern Syria close to the Turkish border

This partnership is a rage! TurkeyA U.S. ally, in NATO, which views Syria’s Kurdish fighters as part of the Kurdistan Workers’ Party, or P.K.K., which has fought a bloody, decades-long insurgency against the Turkish state, aimed at greater independence or autonomy. TurkeyThe European Union and The United States considers P.K.K. The United States considers P.K.K. terrorist organisation.

Six people were killed by a bombing in which six people were injured and On a busy pedestrian road, dozens of others were also injured in Istanbul authorities released photos last week of a woman who they claimed planted the bomb. and She was accused of working for P.K.K. Dozens As authorities try to determine the motive for the crime, several other suspects were also arrested.

The bombing was the initial such attack. in Turkey in More than five years and Fears were raised that it could lead to a resurgence of violence. Turkey Could it be possible to return to days when cities were frequently targeted by the P.K.K. or the jihadists from the Islamic State.

The Turkish Defense Ministry stated that its warplanes had struck 89 targets in a Sunday statement in northern Iraq and Syria, all military infrastructure that is connected to the P.K.K. The campaign aimed at “fend off terror attacks from northern Iraq and northern Syria, provide border security and destroy terror from its source,” The ministry stated.

Farhad Al Shami, spokesperson for the S.D.F. in Northwestern Syria said that one of the civilians who were killed was a worker at an electric station and There were two guards protecting grain silos. One S.D.F. also helped. fighter.

The Syrian Observatory for Human Rights (a group) in Britain, which is following the conflict through contacts within Syria, stated that 14 S.D.F. were among the dead. fighters and 12 soldiers from President Bashar al-Assad’s government in Syria.

SANA, the state news agency in Syria, stated that only “a number” Many of its soldiers were killed in Strikes on their bases in The northeastern Syria

Ben Hubbard Istanbul, Turkey. and Sangar Khaleel Dohuk Iraq. Hwaida Saad Contributed reporting from Beirut, Lebanon and Safak Timur From Istanbul.