George Clayton Johnson, who wrote the script for the first “Star Trek” episode to air and co-wrote “Logan’s Run,” died Friday, Dec. 25 in the Los Angeles area following a battle with cancer, according to his son, Paul Johnson. He was 86.

He was born in Cheyenne, Wyo., in 1929. He broke into the entertainment business in 1959 when he wrote the “I’ll Take Care of You” episode for “Alfred Hitchcock Presents.”

Johnson was a member of the Southern California School of Writers, which included Theodore Sturgeon, William F. Nolan, Charles Beaumont, Richard Matheson and Ray Bradbury. He met “Twilight Zone” producer Rod Serling through them and would go on to write eight episodes for the seminal sci-fi series including “Nothing in the Dark,” “Kick the Can,” “A Game of Pool” and “A Penny for Your Thoughts.”

Johnson sold a short story that would serve as the basis for Frank Sinatra’s 1960 movie “Ocean’s 11” and the George Clooney-Brad Pitt reboot in 2001. He also wrote episodes for “Route 66,” “The Law and Mrs. Jones” and “Kung Fu.”

With William F. Nolan, he wrote the dystopian novel “Logan’s Run,” in which people are executed at the age of 21 and which served as the basis for the 1976 film. He wrote the adapted script for “The Intruder,” the 1962 movie directed by Roger Corman, based on the novel by his friend Charles Beaumont. Both appear in the movie along with William F. Nolan.

His script “The Man Trap” was the basis for the first “Star Trek” episode, which aired on Sept. 8, 1966. It centered on salt-hungry creature who terrorized the crew of the USS Enterprise.

Johnson was a longtime advocate for the legalization of marijuana and in his later years wrote comic books and was a frequent guest at sci-fi and comics conventions. He co-created the comic book series “Deepest Dimension Terror Anthology” with cartoonist and author Jay Allen Sanford.

“He had a special place in his heart for all of his fans, who sustained him and gave him a forum to share thoughts at a million miles a second,” his son said.

In a 2003 interview for the Archive of American Television, Johnson said, “I want to be remembered as a person who early on in his life took control of his life and set goals. When people gave me a lined paper, I wrote the other way. When people expect some certain behavior from me, I will frustrate their expectations.”