The Prisoner is a 1967 British television series created by Patrick McGoohan, with possible contributions from George Markstein. McGoohan played the lead role as Number Six, an unnamed British intelligence agent who is abducted and imprisoned in a mysterious coastal village. Episode plots have elements of science fiction, allegory, and psychological drama, as well as spy fiction. It was produced by Everyman Films for distribution by Lew Grade's ITC Entertainment. A single series of 17 episodes was filmed between September 1966 and January 1968, with exterior location filming in Portmeirion, Wales. Interior scenes were filmed at MGM-British Studios in Borehamwood, north of London. The series was first broadcast in Canada beginning on 5 September 1967, in the UK on 29 September 1967, and in the US on 1 June 1968. Although the show was sold as a thriller in the mould of the previous series starring McGoohan, Danger Man, its combination of 1960s countercultural themes and surrealistic setting had a far-reaching influence on science fiction and fantasy TV programming and on narrative popular culture in general. Since its initial screening, the series has developed a cult following. The series follows an unnamed British man (McGoohan) who, after abruptly and angrily resigning from his high-ranking government job – apparently a secret service post – prepares to make a hurried departure from the country. The most he will later reveal about his resignation is that it was a "matter of conscience". While packing his luggage, he is rendered unconscious by knockout gas piped into his London home. When he wakes, he finds himself in a re-creation of the interior of his home, located in a mysterious coastal "village" within which he is held captive, isolated from the mainland by mountains and sea. Although internal physical movement of residents around the Village is unconstrained, the premises are secured by numerous high-tech monitoring systems and security forces, including a balloon-like automaton called Rover that recaptures or kills those who attempt escape.