This video can not be played

Spain's conservative People's Party (PP) leader Alberto Núñez Feijóo has won snap elections, opening the door to the far-right taking a share of power for the first time in more than half a century.

Together with the anti-immigration Vox, the two parties secured over 48% of the vote, while outgoing PM Pedro Sánchez announced his resignation as Socialist leader.

The two parties have yet to reach an agreement on any coalition - but as winner, the People's Party will want to asset it's own centre-right programme over the next government, so what will that look like?

BBC correspondent Mark Lowen takes look.

Who are Spain's People's Party and what do they stand for? Video, 00:01:32Who are Spain's People's Party and what do they stand for?

Up Next. Why Spain's election is so important. Video, 00:01:43Why Spain's election is so important

Hopeful. Fearful. Spanish voters divided on poll result. Video, 00:00:54Hopeful. Fearful. Spanish voters divided on poll result

'It's impossible': Spain's young people on housing ahead of Sunday's election. Video, 00:02:06'It's impossible': Spain's young people on housing ahead of Sunday's election

Will Kim Jong Un's visit to China set up Trump meeting? Video, 00:01:18Will Kim Jong Un's visit to China set up Trump meeting?

Spain's far right eyeing role in power for first time in 51 years. Video, 00:01:16Spain's far right eyeing role in power for first time in 51 years

Mike Love reflects on how music shaped his early years. Video, 00:00:17Mike Love reflects on how music shaped his early years

Zelensky questions 'strange' Trump-Putin friendship in BBC interview. Video, 00:01:47Zelensky questions 'strange' Trump-Putin friendship in BBC interview

Student recalls moment passenger stepped in during Huntingdon attack. Video, 00:01:21Student recalls moment passenger stepped in during Huntingdon attack

'A lonely road': Catherine joins cancer support group in new documentary. Video, 00:01:42'A lonely road': Catherine joins cancer support group in new documentary

Watch: Roofs torn off and streets under water as severe weather hits US. Video, 00:01:05Watch: Roofs torn off and streets under water as severe weather hits US

Deadly fire erupts near Cairo killing dozens of people. Video, 00:00:58Deadly fire erupts near Cairo killing dozens of people

'Top Gear is back': Gordon Ramsay announced as new host. Video, 00:00:26'Top Gear is back': Gordon Ramsay announced as new host