The Way Back is a 2010 American survival film directed by Peter Weir, from a screenplay by Weir and Keith Clarke. The film is inspired by The Long Walk (1956), the memoir by former Polish prisoner of war Sławomir Rawicz , who claimed to have escaped from a Soviet Gulag and walked 4,000 miles (6,400 km) to freedom in World War II.