"The Wire" is the 42nd episode of the television series Star Trek: Deep Space Nine, the 22nd episode of the second season. Set in the 24th century, the series follows the adventures on Deep Space Nine, a space station near the planet Bajor, as Bajor recovers from a recently-ended 50-year occupation by the hostile Cardassians. This episode is the first to explore the backstory of recurring character Garak, a disgraced Cardassian former spy living in exile as a tailor on Deep Space Nine. "The Wire" was written by Robert Hewitt Wolfe and directed by Kim Friedman, and it aired May 8, 1994 in syndication. Guest stars include Andrew J. Robinson as Garak, Ann Gillespie as Nurse Jabara, Jimmie F. Skaggs as Boheeka, and Paul Dooley as Tain. Plot At his weekly lunch date with Dr. Julian Bashir, Garak appears to be having severe headaches, but refuses to allow Bashir to help. He later hears Garak discussing a deal with the bartender and small-time criminal Quark. The next day, Garak collapses in pain after drinking heavily, and Bashir takes him to the infirmary. Bashir finds that Garak has an implant of some sort in his brain. He and Constable Odo observe Quark trying to order a piece of Cardassian biotechnology, which turns out to be classified by the Obsidian Order, the feared Cardassian intelligence agency. Garak eventually reveals to Bashir that the implant was given to him by the former head of the Obsidian Order, Enabran Tain. It was designed to make him resistant to torture, but he has been using it to cope with the pain of living in exile, becoming addicted to it; and it is now breaking down from overuse. Garak claims he deserves his punishment and tells how he once destroyed a ship containing 98 Cardassians, including his aide, Elim. Bashir turns the implant off, and Garak becomes extremely agitated. He explains that rather than killing Elim, he was exiled for releasing a group of Bajoran children he was supposed to interrogate. After expressing disdain for his friendship with Bashir, Garak again loses consciousness. Even with the implant off, Garak is still dying. Bashir considers turning the implant back on to save him. Garak refuses, and decides to tell Bashir the "truth": Elim was not Garak's aide but his childhood friend. The two were both powerful men in the Obsidian Order until Garak tried to frame Elim