he was first elected in the 2005 general election and held the post of secretary of state for children, schools and families from june 2007 to may 2010. he was a candidate to become leader of the labour party in september 2010 and lost to ed miliband. ed balls lost his seat in the 2015 general election