Luis Enrique had stepped down as Spain boss to spend more time with his seriously ill daughter.
CNN  — 

Luis Enrique has been reappointed as Spain’s national team coach, five months after he left the job to spend more time with his family during his daughter’s battle with bone cancer.

The nine-year-old died in August.

Enrique had also been absent from the Spanish camp for three months before resigning in June.

His former assistant, Robert Moreno, had taken over duties in Enrique’s absence and guided Spain to Euro 2020 qualification but he will leave his role immediately to make way for the returning boss.

“Luis Enrique had our promise that he had the doors of the national team open since the moment he left,” said Luis Rubiales, president of the Royal Spanish Football Federation.

“This is a project that started with the qualification of the Euro and will continue until the Qatar World Cup and we want to wish Luis Enrique a happy return to his job.”

READ: Ronaldo scores 99th international goal as Portugal qualifies for Euro 2020

- Source: CNN " data-fave-thumbnails="{"big": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/190830101509-luis-enrique-xana-daughter.jpg?q=x_31,y_96,h_1904,w_3384,c_crop/h_540,w_960" }, "small": { "uri": "https://media.cnn.com/api/v1/images/stellar/prod/190830101509-luis-enrique-xana-daughter.jpg?q=x_31,y_96,h_1904,w_3384,c_crop/h_540,w_960" } }" data-vr-video="false" data-show-html="" data-byline-html="
" data-timestamp-html="
Updated 9:16 AM EST, Tue November 19, 2019
" data-check-event-based-preview="" data-is-vertical-video-embed="false" data-network-id="" data-publish-date="2019-08-30T17:22:24Z" data-video-section="world" data-canonical-url="https://www.cnn.com/videos/world/2019/08/30/luis-enrique-daughter-xana-orig-vstop-bdk.cnn" data-branding-key="" data-video-slug="Luis Enrique Daughter Xana Orig Vstop BDK" data-first-publish-slug="Luis Enrique Daughter Xana Orig Vstop BDK" data-video-tags="barcelona,cancer,catalonia,coaches and trainers,continents and regions,death and dying,deaths and fatalities,diseases and disorders,europe,health and medical,society,southern europe,spain,sports and recreation" data-details="">
Barcelona's coach Luis Enrique and his daughter Xana wave a flag after the UEFA Champions League Final football match between Juventus and FC Barcelona at the Olympic Stadium in Berlin on June 6, 2015. FC Barcelona won the match 1-3.        AFP PHOTO / LLUIS GENE        (Photo credit should read LLUIS GENE/AFP/Getty Images)
Football manager Luis Enrique announces daughter's death
00:52 - Source: CNN

‘We have to thank him’

Moreno took charge of his last match during Spain’s 5-0 win against Romania Monday but there were already reports that he would be departing to make way for his Enrique.

Rubiales reiterated that the door had always been open for Enrique’s return and thanked Moreno for his spell in charge.

“We were really happy with Robert’s work, we’ve said it,” added Rubiales.

“We think he’s worked really well and as such, we have to thank him for his work here. But the leader of this project, who started it and who came with his staff, was Luis Enrique.”

READ: Record crowd watches Arsenal beat Tottenham in Women’s Super League
READ: Thierry Henry named as head coach of MLS side Montreal Impact

Robert Moreno stepped down to make way for Enrique.

Previous success

Enrique, who played for both Real Madrid and Barcelona, enjoyed huge success as head coach at Camp Nou, winning the La Liga title, domestic cup and Champions League in 2015.

His first spell in charge of the national team started in July 2018 after the team’s catastrophic World Cup.

He signed a two-year deal and replaced interim boss Fernando Hierro, who took the job after Julen Lopetegui was sacked two days before the team’s first game in Russia.