"The Cage" is the first pilot episode of Star Trek. It was completed in early 1965 (with a copyright date of 1964), but not broadcast on television in its complete form until late 1988. The episode was written by Gene Roddenberry and directed by Robert Butler. It was rejected by NBC in February 1965, and the network ordered another pilot episode, which became "Where No Man Has Gone Before".