Updated

Turkey could move soon to reinstate the death penalty, President Recep Tayyip Erdogan said Wednesday while attending the funeral of a young mother and her infant son who were killed by a roadside bomb.

Turkish authorities have blamed Tuesday's attack near the borders of Iran and Iraq on Kurdish rebels. They said the mother and child were targeted with an improvised explosive device on a road near the town of Yuksekova.

The 24-year-old woman was driving back from visiting her husband, a sergeant in the Turkish army, with her 11-month-old son. She died instantly, while the baby died in a hospital.

Erdogan, who flew to the central Turkish city of Sivas to attend the funeral, vowed to press ahead with the fight against the outlawed Kurdistan Workers' Party "until the last terrorist remains."

Responding to mourners' shouts calling for the death penalty, Erdogan reiterated that he would not hesitate to approve capital punishment if Turkey's Parliament passed a law authorizing it.

"The steps that we will take on the issue are close," the president said.

Turkey has not executed anyone since 1984. The country abolished the death penalty in 2004 as part of its bid to join the European Union.

The rebels of the Kurdistan Workers' Party, or PKK, have waged a three-decade old insurgency in Turkey's mostly Kurdish southeast region. The conflict has killed tens of thousands of people.

The group is considered a terror organization by Turkey and its Western allies.