On 20 February 2011 the Social Democrats led by Scholz won the Hamburg state election, 2011 with 48.3% of the votes, resulting in 62 out of 121 seats in the Hamburg Parliament. Scholz resigned as a member of the seventeenth Bundestag on 11 March 2011 shortly after his election as First Mayor.