The Way Back director Peter Weir is set to direct gothic thriller The Keep.

The film is an adaptation of a best-selling Jennifer Egan book and it is set in a mysterious medieval castle somewhere in Central Europe. It follows two estranged American cousins who reunite to set up an alternative resort, stirring childhood traumas and phobias in a haunted castle. Peter Weir is also writing the screenplay for the film.

Ben Saïd will produce through his Paris based production company SBS Productions.

The director is best known for his work on Master and Commander: The Far Side Of The World and The Truman Show.

Production is scheduled to begin next spring in Europe and Australia.