Spain’s Pedro Sanchez has been defeated in Sunday’s election and the People’s Party and far-right Vox won a majority.