Dhaka, Nov. 30 -- Spain's election marks a major shift to the right, with the conservative People's Party emerging as the largest force in parliament and the far-right Vox becoming a kingmaker.

The result puts an end to eight years of Socialist-led government under Prime Minister Sanchez and puts Spain on course to become the latest European country to bring the far right into national government.

But a parliamentary majority does not automatically mean a smooth path to government.

The PP and Vox have worked together in several regional administrations, but they still need to agree on the terms of a national deal.

Feijóo has signalled a preference for an agreement that would allow Vox to support his government without necessarily...