LONDONDERRY, Northern Ireland — The main political parties in Northern Ireland have agreed to restart negotiations to revive the province’s dormant regional parliament, a week after the murder of a journalist by nationalist militants exacerbated concerns that the political vacuum had contributed to a breakdown in the Northern Irish peace process.

Officials announced on Friday that negotiations will begin on May 7. Representatives of the Democratic Unionist Party, which wants Northern Ireland to remain part of the United Kingdom, and Sinn Fein, which hopes the province will ultimately join the Republic of Ireland, will attempt to end an impasse that has left the region without a government for more than two years.

Since a 1998 peace deal that largely ended three decades of sectarian conflict between nationalist and unionist paramilitaries and the British state, Northern Ireland has been mostly ruled by a coalition of the region’s largest nationalist party and its largest unionist counterpart, which are currently Sinn Fein and the D.U.P.

But that power-sharing agreement collapsed in January 2017, following allegations of unionist corruption and subsequent disagreements over same-sex marriage and the legal status of the Irish language.