Saif al-Islam Gaddafi, second son of the late deposed Libyan leader Col Muammar Gaddafi, has been freed from jail under an amnesty law.
His father’s preferred successor, he had been held by a militia in the town of Zintan for the past six years.
The Abu Bakr al-Siddiq Battalion said he had been released on Friday but he has not been seen in public.
It is feared the move could fuel further instability in Libya.
His lawyer, Khaled al-Zaidi, confirmed he had been released.
He declined to say which city Saif al-Islam had travelled to for security reasons. A source has told the BBC he is in the Tobruk area of eastern Libya.