Stargate SG-1: Endgame

"Endgame" is the tenth episode of season eight of the science fiction action series Stargate SG-1 and the 164th episode of the series overall. It was directed by Peter DeLuise with a script written by Joseph Mallozzi and Paul Mullie. It first aired on the Sci-Fi Channel on September 17th, 2004.