"Bop Gun" is the second season finale of the American police drama television series Homicide: Life on the Street, and the thirteenth overall episode of the series. It originally aired on NBC in the United States on January 6, 1994, as the season premiere. In the episode, the Baltimore homicide unit investigates the shooting death of the wife of a tourist, played by guest star Robin Williams.

The episode was written by David Mills and David Simon based on a story by executive producer Tom Fontana, and directed by Stephen Gyllenhaal. In response to network feedback and poor ratings from the first season, "Bop Gun" marked several changes in the series, including a less bleak visual style and a greater focus on one plot, rather than multiple subplots. It was also the first episode to focus primarily on a homicide victim, rather than on the detectives. Simon felt the dialogue was realistic, especially that of the dark humor employed by detectives as a coping mechanism for dealing with the horrors of the job.

Williams previously worked with Homicide executive producer Barry Levinson on the films Good Morning, Vietnam (1987) and Toys (1992). This led to speculation that Williams took the role on "Bop Gun" as a favor to Levinson, but the actor insisted it was out of admiration for the series itself. A young Jake Gyllenhaal, the son of the episode's director, makes an appearance as Williams' son. The episode was the first to feature Chris Tergesen as music coordinator, which resulted in the use of more songs than previous episodes, including "Killer" by Seal and "Feels Like Rain" by Buddy Guy.

"Bop Gun" was seen by 16.3 million viewers, one of the highest Nielsen ratings of the week, thanks in large part due to interest in Williams' appearance. The episode received generally positive reviews, with several particularly complimenting the dramatic performance by Williams. "Bop Gun" won a Writers Guild of America Award for Best Screenplay of an Episodic Drama. Williams also received an Emmy Award nomination for Guest Actor in a Drama Series. The episode, along with the rest of the first and second seasons of Homicide: Life on the Street was released on DVD in the United States on May 27, 2003.

Plot summary Felton (Daniel Baldwin) and Howard (Melissa Leo) investigate the murder of an Iowa woman who was shot to death in front of her husband, Robert Ellison (Robin Williams), and their two young children during a mugging. Since the victims are tourists, the case becomes a "red ball" and receives considerable attention from the press, city officials and top police brass. Bayliss (Kyle Secor) tries to interview the children, but Ellison stops him, protesting that the experience is too hard on them. After obtaining information from street thugs, the police arrest Marvin (Antonio Charity), who possesses .45 caliber bullets matching those used in the shooting.

Marvin tells the detectives that he's a "stone stick-up man" who has robbed dozens of people and never shot anyone because people don't argue with a .45-carrying man, and also that he knows he will spend decades in prison anyway because he was involved in the shooting so there is no reason to lie about being the shooter. A mournful Ellison overhears Felton joking about the investigation and bragging about the overtime he expects to receive from it. He angrily demands Felton be thrown off the case, but Gee (Yaphet Kotto) calms him down by explaining the police have to be detached from the victims because they encounter so many. Ellison takes his children back to their hotel room, where his daughter Abby (Julia Devin) is in denial about her mother's death, and his son Matt (Jake Gyllenhaal) angrily refuses to talk to his father.

Police arrest a second suspect named Tweety (Vincent Miller), who was found in possession of the murdered woman's locket. The detectives question Marvin and Tweety separately until Tweety identifies the shooter as 19-year-old Vaughn Perkins (Lloyd Goodman). Howard is surprised to learn Vaughn has a mostly clean criminal record, and his family insists Vaughn would never kill anybody. Vaughn is arrested without incident, but Ellison is unable to identify the three suspects because he does not remember their faces. Meanwhile, Ellison sees his wife's body in the morgue and gets upset that her clothes and wedding ring have been removed. Bayliss later returns the ring to Ellison, who admits he feels guilty for not protecting his wife or stopping the shooter. Ellison asks to hold Bayliss' gun just to know how it feels, and Bayliss reluctantly agrees.

Howard repeatedly questions Vaughn, believing he is acting as the fall guy for his two friends. Vaughn says nothing, but eventually writes a letter of apology to Ellison. Felton closes the case despite Howard's protests for more time to investigate. Vaughn eventually pleads guilty at his arraignment and insists on serving life without parole. Marvin and Tweety are sentenced to thirty years in prison, but Ellison tells Howard he feels no comfort because his wife is still dead. Howard tries to give Vaughn's letter to Ellison, but he refuses to accept it. Howard eventually speaks directly to Vaughn in prison, where Vaughn admits he handled the gun during the stick-up because he thought if he had the gun, he could control the situation and prevent anyone from getting hurt. Vaughn said he lost control of the robbery, and insists he needs to serve his life sentence to make amends. A devastated Howard finally agrees with Felton's opinion that Vaughn was indeed the shooter.

Production Despite critical acclaim, Homicide: Life on the Street suffered from poor ratings throughout its first season, prompting NBC to consider taking it off the air. After a nine-episode first season, the network approved four more episodes for the show's second season as a trial run to determine whether to continue or cancel the show. The script for "Bop Gun" was completed before the first season ended, but NBC executives asked for several refinements – including less involved plots and fewer camera movements – before approving a second season. In an attempt to appease the network and improve ratings, executive producers Barry Levinson and Tom Fontana sought to make subtle changes to give the show a stronger mainstream appeal, while aiming not to compromise its integrity or originality. With "Bop Gun", the producers slightly toned down the bleak visual style and hand-held photography motif. It is also the first episode to focus on a single story, rather than multiple subplots, which Fontana felt allowed the writers to tell the main story better. Fontana said of the changes to the series, "We were experimenting with our first nine episodes. Whenever you try something new, you tend to err on the side of breaking ground. But we'd rather have more people watching, so the colors and lighting are slightly brighter, and the camera movements are not as jarring." "Bop Gun" marked the first episode with Jean de Segonzac as director of photography. The first scene, which depicts the moments immediately before the shooting, juxtaposes shots of the Ellison family admiring the tourist attractions of Baltimore with shots of their shooters playing basketball before following the family. The photography depicts the different sides of Baltimore by presenting the Ellison family shots like a cheerful tourist advertisement, with the other shots presenting a grittier image of the city.

"Bop Gun" marked the first episode in its new time slot on Thursdays at 10 p.m., occupying a period previously filled by L.A. Law. The show previously aired 9 p.m. on Wednesdays, where it was regularly defeated in the ratings by the ABC comedy Home Improvement. "Bop Gun" was written by David Mills and David Simon based on a story by Fontana. It was directed by Stephen Gyllenhaal, a feature director then-best known for such films as Waterland (1992) and A Dangerous Woman (1993). It was the first television script written by Mills, who previously worked as a reporter and became friends with Simon while studying journalism at the University of Maryland, College Park. Mills said of "Bop Gun", "That script inspired me to quit journalism. It was a golden opportunity, even though I didn't know what I was doing. I developed bad habits as a newspaper feature writer. I would always stretch a project to fill the available time." "Bop Gun" served as a departure from previous Homicide: Life on the Street episodes by focusing more strongly on a murder victim, rather than on the detectives. Simon felt the script's dialogue, particularly the detectives' use of dark humor as a coping mechanism for dealing with the horrors of the homicide unit, were faithful to reality. He particularly cited the scene in which Felton angers Ellison by talking excitedly about how much overtime he expected to get. Simon said, "That's a conversation that would happen. It would happen in any homicide unit in America, and when I saw it actually being acted out I got a real kick in the pants because I thought, 'Wherever there are homicide detectives watching this, they're cracking up because they know how true it is.'"

"Bop Gun" was originally meant to serve as the second season finale, but NBC decided to make it the season premiere with the hopes of getting increased ratings from a guest appearance by Robin Williams. Williams portrayed Robert Ellison, the husband of a slain woman tourist. Several news sources indicated Williams took on the role as a favor to Homicide executive producer Barry Levinson, who directed Williams in the films Good Morning, Vietnam (1987) and Toys (1992). But Fontana said Williams agreed to take the part based on the actor's positive impression of both the show in general and the "Bop Gun" script in particular. Fontana said of Williams, "He read the script, responded instantly and said, 'When do you want me there?'. He could not have been more prepared or more of a gentleman to everyone, and he worked his tail off. That whole experience was a joy." Williams himself said of the show, "Visually, it was just so different from anything else on television." Although Williams was primarily known for his comedic work, the Homicide producers and Williams himself consciously decided to remain true to the original script, rejecting the idea of adding humor or jokes to the episode. Williams' scenes were filmed over three days, and the actors found the part emotionally draining.Kalat, p. 128 Fontana said, "[Williams] worked like a dog. It was quite a special event for all of us. It's very intense."

A 13-year-old Jake Gyllenhaal, son of the episode's director Stephen, made one of his earliest acting performances in "Bop Gun" as Matt, the young son of Robert Ellison. Williams and Homicide regular Richard Belzer were acquainted from a HBO comedy special they both appeared in, although the two had never acted together before. The two often joked between filming takes, except for during Williams' most dramatic scenes. The episode also featured Vincent Miller, an actor who worked primarily in the Washington, D.C. area, as Tweety.

Music