Former Real Madrid defender Hierro, currently sporting director for the national team, will take charge of Spain at the World Cup following the stunning sacking of Julen Lopetegui on the eve of the tournament.