After Sánchez, the Spanish socialist faces the test of survival and rehabilitation. The Spanish Socialist Party is facing a leadership crisis following the resignation of the party's secretary general, Pedro Sánchez, following the electoral defeat, amid disputes regarding the date of the election of his successor, and a dispute over the party's identity, its political future and its role in the opposition.