Spain's conservative People's Party (PP) has won snap elections, a result that could bring the far-right into the national government for the first time in more than half a century.

PP leader Alberto Núñez Feijóo's party, in alliance with the anti-immigration Vox party, garnered over 48% of the vote. The outcome prompted outgoing Prime Minister Pedro Sánchez to announce his resignation as Socialist leader.

While the People's Party and Vox have not yet finalized a coalition agreement, as the electoral winner, the PP is expected to prioritize its center-right platform for the next government.