O'Neill and Teal'c had traveled to P3C-249 for a series of negotiations with Rebel Jaffa leaders. However, old rivalries arose, and when the Avenger virus shut down the stargate network, rival factions accused each other of sabotage. O'Neill and Teal'c were trapped on the planet, but in the ensuing battle they managed to organize the Rebels and capture an alkesh which provided them with valuable technology as well as a means of escape.
Cross Reference: Avenger, Rebel Jaffa
Episode Reference: Avenger 2.0