 This meant that in each of those episodes, Worf was inserted into the episode, whereas "The Sword of Kahless" was the first episode to be written after his arrival and the production team wanted him to feature centrally for the first time.The story was created by Richard Danus, who had been the executive story editor during the third season of "TNG", when Ira Steven Behr joined the production team.Danus had written "TNG" episodes such as "Déjà Q" and co-wrote the teleplay for "".