South Sudan’s civil war is one of the worst in the world, resulting in the deaths of tens of thousands of people, a brief famine, and the largest refugee crisis in Africa since the 1994 Rwanda genocide.
Endley served as a security advisor to Machar after the war began. Previously he had worked at security firms in the capital Juba.
The court sentenced him to two years imprisonment for illegal entry into South Sudan, four years for publication of false information, seven years for training and sabotage, and to death for conspiracy to overthrow the government, said defense lawyer Gar Adel Gar.
“The defence case is closed and the final judgment will be given on the 23rd of this month”, presiding judge Ladu Sekwat said during the hearing.
Endley’s lawyer Gardit Gar told Reuters that six witnesses had been served with a notification to testify, including a government minister.
In addition to charges of conspiracy and the supply of weapons, Endley, was accused of espionage, waging an insurgency, sabotage, terrorism and illegal entry into South Sudan.
He was charged alongside James Dak, a former spokesman for Machar, who was also handed the death sentence for incitement and conspiracy against Kiir’s government.
South Sudan, which won independence from Sudan in 2011, descended into civil war in 2013, months after Kiir fired his then deputy Machar.
Tens of thousands of people have been killed and a third of the population have fled their homes.
Machar, who fled to Democratic Republic of Congo after fierce fighting broke out in Juba in July 2016, is now in South Africa under virtual house arrest.
Talks on a new power-sharing arrangement and an election are taking place in the Ethiopian capital but clashes have continued despite the signing of a ceasefire in December.
The ceasefire agreement was intended to revive a 2015 peace deal, which lasted less than a year before collapsing.