Pelosi won, but she was elevated to minority leader following the 2002 elections, paving the way for Hoyer to take the whip job. Hoyer then won the majority leader post by beating John P.