The party that won the most votes in Spain's national election Sunday campaigned on a Green New Deal.

The country's Socialist Workers' Party (PSOE) won the largest number of parliamentary seats, at 123, though it fell short of the 176 needed to form a government. It will likely form a coalition government with the anti-austerity Unidas Podemos and smaller regional parties, The Guardian reported. The center-right Popular Party (PP) had its worst election in history, securing only 66 seats, while the anti-immigrant, nationalist Vox won 24 seats, the first time a far-right party has won more than one seat in Spain's parliament since the country transitioned to democracy following the death of General Francisco Franco in 1975.

The PSOE gained control of Spain's government in June 2017 when it ousted the PP via a no-confidence vote following a corruption scandal. Party leader Pedro Sánchez called Sunday's election in February after his party was unable to pass a 2019 budget with only 84 seats. 75.8 percent of the electorate turned out to vote, nearly 10 percentage points more than the number who turned out for the last election two years ago, and Sánchez interpreted the turnout as a rebuke to the far-right policies of his opponents.

"We made it happen," he told supporters, The Guardian reported. "We've sent out the message that we don't want to regress or reverse. We want a country that looks forwards and advances." One of the ways the PSOE hopes to move forward is on the environment. Sánchez endorsed the idea of a Green New Deal, called "El New Deal Verde" or "El Green New Deal de España" in Spain, in January, according to The Intercept. His party introduced a climate bill before the election that includes the following goals: Reducing greenhouse emissions to 90 percent of 1990 levels by 2050 Transitioning to renewable energy completely by the same date and getting 74 percent of energy from renewables by 2030 Banning fracking Divesting from and ending government subsidies for fossil fuels Banning the registration and sale of gas-burning vehicles by 2040 Spain's Minister for Ecological Transition Teresa Ribera praised New York Representative Alexandria Ocasio-Cortez for emphasizing both the social and ecological benefits of fighting climate change. "One of the main elements of her speeches that we fully share," Ribera told The Intercept, is that "we cannot have sectoral environmental and social agendas. Climate justice and the recognition of climate injustice is very important." To this end, Ribera has worked with unions to help compensate coal miners as Spain closes its mines. The PSOE's manifesto calls for a nationwide mobilization to clean energy that seeks to engage unions, businesses, local communities and civil society and wants to use decarbonization as a chance to create jobs. "We cannot get as big a transformation as we need without [a] big dose of just transition and solidarity policies. Otherwise there will be many people who are left behind," Ribera said. Podemos leader Pablo Iglesias has already called Sánchez to congratulate him and offer to form a government, The New York Times reported.