LONDON -- Britain's Foreign Office says a teacher who had been held hostage by militants in Libya for the past four months has been safely freed and reunited with his family.

In a statement Saturday night, the Foreign Office identified the former hostage as David Bolam, a teacher at the Benghazi European School, and described him as "safe and well after his ordeal" and was with his family in an undisclosed location. It says his abduction had been kept secret for his own security.

The Foreign Office declined to provide other details on Bolam's background, captivity or release and said his family wants to protect their privacy. His LinkedIn profile indicates he was the director of the Benghazi school.