Answer
Alan Johnson, a British politician who held various cabinet positions, was defeated by Harman in the 2007 deputy leadership election for the Labour Party. This election determined who would serve as the second-in-command to the party leader, Gordon Brown, at the time.