Kevin Rudd announced in a press conference shortly afterwards that he would challenge Gillard for the leadership, and committed to retiring from politics if he lost. Shortly before the 7:00pm vote, influential factional leader Bill Shorten, who had first come out in support of Julia Gillard in the 2010 and 2012 leadership spills, announced that he would support Kevin Rudd as he believed he was the person most likely to defeat Tony Abbott in the upcoming general election.  102 members of the Labor caucus from the House of Representatives and the Senate were eligible to vote, with 52 votes needed to win. All caucus members voted and Kevin Rudd won the ballot by 57 votes to 45, therefore becoming Leader of the Labor Party for the second time. Following the result, Deputy Leader Wayne Swan announced that he would resign his position. Anthony Albanese subsequently defeated Simon Crean by 61 votes to 38 votes, thus becoming the Deputy Leader of the Labor Party. Penny Wong was also unanimously elected to be Labor's leader in the Senate, with Jacinta Collins elected as her deputy. Julia Gillard publicly congratulated Kevin Rudd on his victory, and announced her resignation as Prime Minister of Australia. In keeping with the pledge she made before the vote, she also announced that she would not seek re-election at the upcoming general election. Wayne Swan, Craig Emerson, Peter Garrett, Stephen Conroy, Joe Ludwig and Greg Combet all also announced their resignations from the cabinet. Gillard submitted her resignation as Prime Minister to Governor-General Quentin Bryce that evening, to take effect the following day. Rudd was subsequently sworn in as Prime Minister for the second time, with Anthony Albanese being sworn in as Deputy Prime Minister. On 4 August 2013, Rudd visited the Governor-General and asked her to dissolve parliament and issue writs for an election on 7 September. At the 2013 federal election on 7 September, Kevin Rudd led Labor to defeat at the election and resigned as Labor leader.