Spain's election results are being watched as PM Sanchez was the last remaining left-wing leader of a major EU country.