"Justice" is the eighth episode of the first season of the American science fiction television series Star Trek: The Next Generation. The episode first aired in broadcast syndication on November 9, 1987. Directed by James L. Conway, writer John D. F. Black originally pitched the story, but after Worley Thorne and Gene Roddenberry modified it, Thorne wrote the script. Because of the changes to the story, Black chose to receive his credit under the pseudonym Ralph Wills.

Set in the 24th century, the series follows the adventures of the Starfleet crew of the Federation starship Enterprise-D. In this episode, Wesley Crusher (Wil Wheaton) is sentenced to death after inadvertently breaking the law on an alien planet. Captain Jean-Luc Picard (Patrick Stewart) must deal with the powerful and mysterious protector of the planet while deliberating whether to violate the Prime Directive to save Wesley's life.

Justice (Star Trek: The Next Generation)

This was the first episode of The Next Generation to feature multiple shots filmed on location, with scenes filmed in Van Nuys, Los Angeles, and the Huntington Library in Pasadena, California. "Justice" was the second most viewed episode of the first season, with 12.7 million viewers. However, on review, the episode received many negative responses, with critics pointing to issues with the quality of the acting and plot.

Justice (Star Trek: The Next Generation)

Plot

The USS Enterprise arrives for shore leave at the paradisiacal, newly discovered planet of Rubicun III. A small advance party from the ship are sent down to meet with the Edo, the native people of the planet. Captain Jean-Luc Picard (Patrick Stewart) sends Wesley Crusher (Wil Wheaton) as part of the away team to evaluate the planet on behalf of the young people on board the Enterprise. Upon their arrival, they are greeted by Rivan (Brenda Bakke) and Liator (Jay Louden) in a very comfortable way, triggering Lt. Worf (Michael Dorn) to determine it a "nice planet", while Wesley leaves the adults to socialize with native teenagers. On the Enterprise, Lt. Commander Data (Brent Spiner) reports something unusual orbiting the planet, but nothing appears on the viewscreen. He sends out a communications signal which reveals another vessel in orbit. A small ball of light enters the bridge and communicates with Picard in a booming voice, warning him not to interfere with the Edo, calling them his "children". The intruder then incapacitates Data.

Justice (Star Trek: The Next Generation)

On Rubicun III, the Edo explain to Lt. Tasha Yar (Denise Crosby) and Worf that capital punishment is used to enforce their laws. The away team rush to warn Wesley, only to discover he has accidentally broken a greenhouse while playing catch with the Edo youths. An Edo mediator, or policeman, attempts to give Wesley a lethal injection for this infraction of the law, but Yar and Worf draw their phasers. On the ship, the sphere leaves Data's body and departs. Picard, upon hearing of the situation with Wesley, transports to the surface. He meets with representatives of the Edo in a council chamber and explains that Earth no longer practices capital punishment. Some Edo interpret this stance as an attempt by the Federation to push their superiority and suggest that Picard should mount a rescue effort for the boy. He says he cannot, quoting the Prime Directive.