A court in Libya has sentenced Saif al-Islam Gaddafi, son of deposed leader Col Muammar Gaddafi, and eight others to deathover war crimes linked to the 2011 revolution.
More than 30 close associates of Col Gaddafi were tried for suppressing peaceful protests during the uprising.
Saif al-Islam was not in court, but has previously appeared via video link.
He is being held by a former rebel group from the town of Zintan that refuses to hand him over.
A Zintani source indicated to the BBC that they would not execute him or hand him over to the court.
'Until the bitter end'Former head of intelligence for the Gaddafi regime, Abdullah al-Senussi, is among those also facing death by firing squad, as is former PM Baghdadi al-Mahmoudi.
They have the right to appeal against their sentences within 60 days.
In the years before the uprising, Saif al-Islam was known for trying to introduce political and economic reforms, says the BBC's North African correspondent Rana Jawad.
"But as people called for the fall of his father's rule - he stood by him till the bitter end," she added.
He is also wanted by the International Criminal Court on charges of war crimes and crimes against humanity.
Prosecutors say that he was part of his father's plans to "quell, by all means, the civilian demonstrations against the Gaddafi regime".