The International Criminal Court has ruled that Libya’s Gaddafi-era intelligence chief, Abdullah al-Senussi, can be tried in Libya.
The decision means that the ICC will no longer demand that Mr Senussi be sent to The Hague to stand trial.
The former military intelligence boss was indicted by the ICC in 2011 for war crimes allegedly committed during the uprising against Gaddafi’s rule.
Mr Senussi was extradited to Libya from Mauritania last year.
The ICC does not carry out proceedings against a suspect if they are receiving a fair trial in a domestic court.
The court said in a statement that the decision had “no bearing on the case against Saif al-Islam Gaddafi”.
The late leader’s son was also indicted by the ICC for war crimes, and is a co-defendant, along with 36 others, of Mr Senussi in the domestic case.
Saif Gaddafi is being held by a militia in the western town of Zintan. Last month the militiamen refused to deliver him to a court in Tripoli to appear at a pre-trial hearing alongside Mr Senussi and the other defendants in that case.