The 2015 Spanish general election produced the worst results for the social-democratic Spanish Socialist Workers' Party (PSOE) since the Spanish transition to democracy in the 1970s, as the party received 22% of the vote, losing support to Unidas Podemos. The PSOE returned to government following the 2018 vote of no confidence in the government of Mariano Rajoy and, in the April 2019 general election, became the largest party since 2008 and obtained its best result since 2011 with 28.7% of the vote.