In 1998, with the People's Party in government, Josep Borrell beat PSOE Secretary General Joaquín Almunia in a party primary to elect the party's candidate to Prime Minister in the subsequent general election [REF].
The office came again under dispute in 2016, days after a caretaker committee under Javier Fernández had taken control over PSOE as a result of a leadership crisis in October.