Two of the 10 South Sudan soldiers found guilty of raping aid workers and murdering a journalist in 2016 have been sentenced to life.

The other eight received a range of jail terms upwards of seven years

They were convicted for involvement in an attack on a hotel in 2016, as rival groups of soldiers fought in the capital, Juba.

This was the first conviction of South Sudanese soldiers accused of carrying out atrocities, the BBC's Africa security correspondent Tomi Oladipo reports.

The trial has been seen as a major test of South Sudan's will to deal with impunity and abuses carried out by its armed forces, our correspondent adds.

The attack itself exposed some of the failings of the UN, as a BBC investigation found that troop contingents were reluctant to put themselves in danger to protect civilians.