The government of South Sudan has released five political detainees and prisoners of war, including a former governor and a rebel commander.

The release of all such prisoners was part of a peace deal signed last month by President Salva Kiir and the rebel leader Riek Machar.

Around four million people have been displaced by the five-year civil war.

Mr Machar is due to be reinstated as a vice-president but he remains in exile.

He says he will only attend next week's peace celebrations if a state of emergency is lifted, political parties are all allowed to operate and any political detainees and prisoners of war are freed. Several remain in detention.