MADRID — Spain may be facing political gridlock and possibly a new election, but a national ballot produced one result that will be welcomed across the capitals of Europe: a far-right party aiming to get its hands on the levers of power was thwarted. Spain’s Vox party, with its ultranationalist bent, lost support among voters in Sunday’s election, dashing its hopes to be a kingmaker and enter a governing coalition that would have given the far right its first share of power in Spain since Francisco Franco’s 20th century dictatorship. The mainstream conservative Popular Party won the election, but performed well below polling data that had forecast it could oust Socialist Prime Minister Pedro Sánchez if it formed a government with Vox as a junior partner. [time-brightcove not-tgx=”true”] Even though Sánchez’s Socialists finished second, they and their allied parties celebrated the outcome as a victory since their combined forces gained slightly more seats than the Popular Party and Vox.