In a last ditch effort, O'Neill activated an Ancient weapon in the Antarctic ...
Stargate SG-1
Season 8 Episode 17: Reckoning: Part 2
Sam and Jacob are on the planet Dakara trying to configure the Ancient's device to destroy the Replicators once and for all, helped partly by Ba'al and Daniel, who succeeds in freezing the Replicators by manipulating Carter's duplicate.