Spain have named Fernando Hierro as Julen Lopetegui's replacement following the new Real Madrid boss' sacking.
Lopetegui was sensationally axed on Wednesday just 24 hours after it was announced he would take over at the Bernabeu following the World Cup.
Former Real Madrid and Bolton star Hierro will be in the dugout on Friday when Spain open their Group B campaign against Portugal.
The 50-year-old is Spain's sporting director and his only managerial experience is a year in charge of Oviedo.
Hierro spent 14 years at Real Madrid before a year in Saudi Arabia and 12 months at Bolton.
He won 89 caps for his country.
On Wednesday, Spain delayed a press conference at the Krasnodar Stadium by well over an hour before Spanish FA president Luis Rubiales announced the decision.
He said: "We have been forced to dispense with the national coach."
Rubiales added: "We wish him the best of luck."Suggestions first emerged early on Wednesday that Rubiales was not happy with the situation and would remove Lopetegui just two days before Spain's Group B opener.
Addressing the media in Russia, Rubiales revealed he had only been told of Real's decision five minutes before they announced Lopetegui's appointment.
"The negotiation occurred without the RFEF having any information," Rubiales said. "(We were told) just five minutes before the press release. We have a way of behaving that needs to be adhered to.
"The Spain team is the team of all Spaniards. You can't do things this way, two or three days before the World Cup. We have been obliged to make this decision."