Argo is a 2012 American historical drama 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. Central Intelligence Agency 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" by Joshuah Bearman. 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.