Stargate SG-1: Season 3, Episode 15
The Tollan put Skaara and Klorel on trial to determine who will control the host body.