Bracks resigned as Premier in July 2007, and the Labor Party elected Brumby as their new leader. This made him the Premier of Victoria. In November 2010 the Labor Party was defeated in the election with a 5.3% swing of votes to the Liberal and National Parties. Brumby resigned as the leader of the Labor Party.