Stargate SG-1: Season 3, Episode 19
The members of SG-1 are imprisoned on a planet and become pawns in a war of ideology.