A failed politician takes over the reins of a flailing party