How a Republican loser turned into the most powerful man in Congress.