South Sudan leaders signed a cease-fire agreement on Monday in Ethiopia that could put an end to the country's civil war.

South Sudan's president Salva Kiir and opposition rebel leader Riek Machar signed the agreement during talks in Ethiopia, according to Time magazine. Under the agreement, Kiir would remain president and Machar would become the vice president. Details of the cease-fire are still in the works, and previous agreements have been ignored.

"Complete cessation of hostilities in South Sudan is expected as of this morning," said a negotiator from the regional Igad bloc, Seyoum Mesfin, according to the BBC.

The negotiations have been postponed until mid-February to give the parties involved time to consider the agreement. However, a final deal should be reached by March 5.

The conflict erupted in July 2013 when Kiir fired his entire cabinet including Vice President Machar because he believed Machar was plotting a coup. Machar denied the allegations, but then formed a rebel force to fight government troops. The conflict has displaced about 1.5 million people and killed about 10,000 people.

Kiir's Dinka ethnic group and Machar's ethnic group Nuer have done the majority of the fighting. South Sudan became a country in 2011, the world's newest state.