Pedro Sánchez has resigned as secretary general of the Spanish Socialist Workers' Party after losing the parliamentary elections.
Sánchez announced his resignation at the party's leadership meeting. Temporarily the leadership will pass to the management committee, and later the socialists will hold an extraordinary congress.