 However, in 2003 Beazley made two attempts to regain his old position.He lost an initial challenge to Crean in June, and then after Crean's resignation in December lost a ballot to Mark Latham by two votes.Beazley was eventually elected to a second term as leader in January 2005 when Latham resigned in the wake of the 2004 election.