Argo is a 2012 American biographical historical thriller film directed, produced by, and starring Ben Affleck. The screenplay, written by Chris Terrio, was adapted from the 1999 memoir The Master of Disguise by U.S. C.I.A. operative Tony Mendez and the 2007 Wired article "The Great Escape: How the CIA Used a Fake Sci-Fi Flick to Rescue Americans from Tehran" written by Joshuah Bearman and edited by Nicholas Thompson. The film deals with the "Canadian Caper", in which Mendez led the rescue of six U.S. diplomats from Tehran, Iran, under the guise of filming a science-fiction film during the 1979–1981 Iran hostage crisis.