You should watch:

Stargate SG-1: Season 7 Episode 20: Inauguration

Perhaps you might want to check out The Order of Watching Stargate