British teacher David Bolam has been released after being held hostage by militants in Libya since May.
The Foreign Office said Mr Bolam was "safe and well after his ordeal" and has been reunited with his family.
David Bolam had been held hostage since May
His kidnapping had not been reported at the request of the Foreign Office and his family, but officials have been supporting his relatives.
Mr Bolam, who teaches at the Benghazi European School, appeared in a video online on 28 August.
In it, he appeals to Prime Minister David Cameron to secure his release.
Speaking in English, he says he is in good health and has been held "a very long time."
The Foreign Office said they would not comment on the details of the case.
His family have asked for privacy.