A group overseeing the implementation of a peace deal to end South Sudan's two-year civil war says government and rebels have agreed on how to share the country's ministries for a proposed transitional government of national unity.

The Joint Monitoring and Evaluation Commission said Thursday that the ministries of finance, defense, justice, and information will go to loyalists of President Salva Kiir, while the rebels under former Vice President Riek Machar, who is slated to retake his post in the transitional government, picked the petroleum and interior ministries in the oil-rich country.

The commission says a group of former political prisoners unaligned with either Kiir or Machar took the foreign ministry, while a group of unarmed opposition parties will run Cabinet affairs.