minds switched bodies. Syd was unable to control David's body, apparently causing chaos that killed several other patients, including David's friend Lenny, and trapping many of the building's inhabitants within a room that was structurally altered. David escaped the hospital with a doctor, who believed that he was Syd. David's body eventually returned to him, and he went looking for Syd back at the hospital. He soon found himself being chased by two people, until he was captured by the government. Agents of the latter attempt to contain David and prevent him from using his powers against them, though he doesn't realize what he can do. The two people that were chasing him earlier, Ptonomy Wallace and Kerry Loudermilk, break into the facility that David is being held in, along with Syd. The group, along with others who exhibit unusual abilities, fight off the government's soldiers and race down a hill. They reach a boat on a beach, where Melanie Bird offers to take David to safety. Production Development In October 2015, FX ordered a pilot for Legion, to be based on the Marvel Comics character of the same name. Marvel Television and FX Productions were set to produce the pilot, with FX Productions handling the physical production. Noah Hawley signed on to write the episode, and executive produce the potential series. Hawley's initial script was described as "less fractured", "cohesive [and] much more regular." However, he quickly reconceived the series to be "more Eternal Sunshine of the Spotless Mind, Terrence Malick, more whimsy, more impressionistic". In January 2017, it was announced that the pilot was simply titled "Chapter 1", and that it was also directed by Hawley. Writing The pilot script had been read by FX executives by January 2016, with FX President John Landgraf saying that it "might be [set] a few years in the past". In May 2016, Hawley explained that he felt the telling of a story should be structured in a way that reflects the content of that story, for instance a story featuring a character who "doesn't know what's real and what's not real, then the audience should have the same experience". He added that he saw this experience as being whimsical, imaginative, and unexpected. Hawley aimed to have the world "fully realized and filled out" during the pilot, so that the second episode could explore Haller in a different way to how he