In Spain, the conservative People’s Party won the most seats in the parliamentary elections, and the socialists led by Pedro Sánchez, the country’s prime minister, were defeated after eight years in power.

The election results set the stage for forming a coalition government involving right-wing parties.