Gillard had been spoken of as a potential future leader of the party for some years but, until 2005, she stayed out of leadership contests. After Mark Latham resigned as leader in January 2005, however, she emerged as a possible successor along with Kim Beazley and Kevin Rudd.