The military prosecutor of Libya's UN-backed unity government, Maj. Masoud Erhouma has reportedly fled his captors after more than one month in captivity, according to local media.
The local Al-Ahrar TV channel quoted Erhouma's family as saying that the military prosecutor had escaped from his captors.
According to the report, he fled to a "safe place" in the city of Al-Rajaban, 162 kilometers south-west of Tripoli.
There was no comment from the Libyan government on the report.
Erhouma was kidnapped from his home in southwestern Tripoli by gunmen in mid-March.
No group had claimed responsibility for the abduction.
Libya has remained dogged by chaos and political uncertainty since 2011 when a bloody uprising led to the ouster and death of longtime leader Muammar Gaddafi after more than four decades in power.
The ensuing power vacuum swiftly led to the emergence of several competing seats of government — including one in Tobruk and another in capital Tripoli — and a plethora of heavily-armed militia groups.