Hundreds of thousands of Kurds, gathered in the city of Diyarbakir to celebrate Newroz, cheered and waved banners bearing the image of Abdullah Ocalan, the jailed leader of the PKK on March 21. (Umit Bektas / Courtesy Reuters)

Last week, Abdullah Ocalan, the leader of the Kurdistan Workers’ Party (PKK), declared a cease-fire in his party’s nearly three-decade-long struggle with the Turkish state. Before then, the insurgency -- which had claimed some 40,000 lives -- had seemed intractable. Ankara’s attempts to put it down had only inflamed Kurdish nationalism and made the PKK stronger. But with Ocalan now apparently ready to try to resolve differences peacefully, the prospects that the uprising will come to an end have improved.

Ocalan’s announcement came at an opportune time. Several factors had already made the moment ripe for peace. First, the ruling Justice and Development Party (AKP) and the broader Turkish public had come to recognize that trying to end the insurgency with force was a dead end and that the government would have to make a more determined effort to find a political solution to the Kurdish conflict.

Second, the Kurdish issue is closely linked to Prime Minister Recep Tayyip Erdogan’s political ambitions. Under AKP bylaws, Erdogan cannot run for another term as prime minister when his second term ends next year. Instead, he is widely expected to try to run for president. If he wins, he will be the first popularly elected president in Turkish history, capping his political career and giving him the chance to shape Turkish politics until 2023, the hundredth anniversary of the founding of the Turkish Republic.

The one problem is that, currently, the presidency is largely a ceremonial post. Erdogan has thus signaled his intention to amend the Turkish constitution to give the president stronger executive powers and to diminish the authority of the prime minister. The AKP lacks the votes in parliament to make such changes to the constitution; to do so, it needs the support of the pro-Kurdish Peace and Democracy Party (BDP), which has 33 seats in parliament. A peace accord with the PKK and promises to revise the constitution to expand Kurdish cultural rights and to broaden the definition of Turkish citizenship would help Erdogan’s government secure the BDP’s allegiance. In effect, to build the presidency he wants, Erdogan will need to strike a grand bargain with the Kurds. However, this prospect worries many Turks, who believe that a new constitution along these lines would concentrate too much power in the hands of one man and open the way to greater authoritarianism.

The final factor that has improved the prospects for peace is a rethinking in AKP circles of Ocalan’s role in any attempt to bring the PKK insurgency to a close. In November 2012, Ocalan helped end a 67-day hunger strike of more than 600 Kurds. His personal intervention demonstrated his influence and the necessity of involving him directly in any peace plan. It was thus not surprising when, a month after Ocalan’s mediation, Erdogan announced the opening of exploratory talks with Ocalan aimed at ending the PKK insurgency. On the Turkish side, Hakan Fidan, head of Turkey’s National Intelligence Organization and a close confidant of Erdogan’s, is leading the discussions. He and Ocalan have focused on developing a strategic road map for a peace accord.

Of course, peace is still far from a done deal. Several issues could derail an accord. For one, the question of amnesty could pose difficulties. Many Kurdish groups -- and Ocalan himself -- insist that PKK fighters must be granted amnesty as part of any agreement. However, much of the Turkish population considers the PKK fighters terrorists and strongly opposes letting them walk.

In addition, Ocalan might want peace and he might have great sway within the Turkish PKK, but the organization is no longer his baby. It has become a transnational movement with networks and operations across the region. Not all of them are under his control. Even if Ocalan can persuade large segments of the PKK to support a peace agreement, some hardcore nationalist groups might still be unwilling to lay down their arms. After all, many PKK commanders see no future for themselves outside of the armed struggle.

Regional developments have also complicated the peace talks. In Syria, the withdrawal of Syrian government forces from five Kurdish-dominated towns along the Syrian-Turkish border in July 2012 created a political vacuum that the Democratic Union Party (PYD) -- which has close ties to the PKK -- rushed to fill. The speed and ease with which the PYD was able to establish control raised Turkish suspicions that Assad might have orchestrated the withdrawal to strengthen the PKK at the expense of Turkey and the Sunni-dominated Syrian opposition. Now Turkish officials worry that the PYD-held areas could become a base for PKK attacks against Turkish territory and security forces. Turkey has threatened to intervene militarily if such attacks take place, raising the chance that any scuffle could quickly expand.

In Iran, as in Turkey, the government has faced a Kurdish insurgency. The movement there is led by the Free Life Party of Kurdistan (PJAK), an offshoot of the PKK. On occasion, Turkey and Iran used to coordinate efforts and share intelligence to combat PKK and PJAK attacks. However, the two countries’ relationship has grown strained over Syria, leading to a sharp reduction in cooperation. That, in turn, has weakened Turkey’s ability to deter PKK attacks. Moreover, according to Turkish officials, Iran has started clandestinely supporting the PKK. Iran has little interest in the PKK insurgency coming to an end, since that would eliminate one of Tehran’s main levers for putting pressure on Turkey.

The shift in Iranian policy toward the PKK has coincided with a serious deterioration of Ankara’s relations with the Maliki government in Baghdad. Turkey sees Maliki as an Iranian puppet and supported his rival, Ayad Allawi, in the March 2010 parliamentary election in Iraq. Since the election, Maliki has steadily sought to consolidate his control over Iraq’s political institutions, especially the police and intelligence services, and circumscribe the influence of the Sunnis and Kurds. The Turks fear that those efforts could reignite the sectarian violence that shook Iraq between 2003 and 2007 and could lead to the breakup of the country, with the Kurds in the north gaining full independence. Such a development would dash hopes of negotiating an end to the PKK insurgency.

The most important strategic shift, however, has been the strong improvement in Turkey’s relationship with the Kurdish Regional Government (KRG) in northern Iraq. In the period immediately following the l990-91 Gulf War, Turkey refused to have official contact with the KRG, fearing that engagement would lend the government in Erbil legitimacy and hasten the emergence of an independent Kurdish state on Turkey’s southern border. Since 2009, though, both sides have come to recognize that they share common interests. Their economies, for one, are increasingly interdependent. Approximately 80 percent of the goods sold in the KRG are made in Turkey. Some 1,200 Turkish companies are currently operating in northern Iraq (mostly in construction, but also in oil exploration).

Another motivation for improved ties is energy. In July 2012, the Erdogan government decided to import crude oil directly from the KRG over Baghdad’s objections, and discussions are underway to build one gas pipeline and two oil pipelines directly through Kurdish-controlled northern Iraq. Previously, Ankara had sought to prevent the KRG from obtaining direct control over the energy resources in the region for fear that oil would strengthen the KRG’s drive to create an independent Kurdish state. But now Turkey hopes to use energy cooperation as an incentive for the KRG to clamp down on the PKK bases in northern Iraq.

With all the domestic and regional moving parts, a peace accord that would the PKK insurgency is far from a done deal. Negotiations are still at an early stage. Even so, the talks represent the most promising attempt in decades to end the PKK insurgency. If they succeeded, they would remove an important obstacle to Middle Eastern security and the stabilization of Turkish democracy. An end to the insurgency would also lend greater weight to Turkey’s ambition of playing a larger role in the Middle East. For those reasons, the international community should support the talks -- however far off peace seems now.