The Germany's head coach Hansi Flick reacts during the World...

The Germany's head coach Hansi Flick reacts during the World Cup group E soccer match between Costa Rica and Germany at the Al Bayt Stadium in Al Khor , Qatar, Thursday, Dec. 1, 2022. Barcelona has hired former Germany and Bayern Munich coach Hansi Flick as the replacement for Xavi Hernandez. It’s the 59-year-old Flick’s first coaching job since being fired by Germany in September last year. Credit: AP/Martin Meissner

Barcelona has replaced Xavi Hernández with former Bayern Munich coach Hansi Flick, who commanded the German team's 8-2 rout of the Catalan club four years ago.

Flick signed a two-year contract with Barcelona, which announced his hiring Wednesday just minutes after confirming that it reached an agreement to sever ties with Xavi.

“It's a big honor and also a dream for me to sign my contract here in Barcelona, to work for this amazing club,” the 59-year-old Flick told club media.

It’s Flick’s first coaching job since being fired by Germany in September last year. He previously spent two years at Bayern, winning the Champions League and back-to-back German league titles.

“I won some titles with Bayern Munich and my hunger is really big for titles. I would like to stay on this path with Barcelona. We can achieve a lot together," Flick said in English.

The new coach spoke of his and the club's matching philosophies around ball possession and attacking football: “These are the things I love.”

He praised Barcelona's mix of youth and experience.

Then Germany coach Hansi Flick attends a press conference following...

Then Germany coach Hansi Flick attends a press conference following a team training session, in Frankfurt, Germany, Monday, June 19, 2023. Germany plays Colombia in an international friendly soccer match on Tuesday in Gelsenkirchen. Barcelona has hired former Germany and Bayern Munich coach Hansi Flick as the replacement for Xavi Hernandez. It’s the 59-year-old Flick’s first coaching job since being fired by Germany in September last year. Credit: AP/Uwe Anspach

“Barcelona has one of the best academies in the world and a good mix between experienced players and young talented players. We have to groove them (so) that they can improve. This is our job.”

Flick, who was Bayern’s coach for the 8-2 victory in the Champions League quarterfinals in 2020, signed the contract at Barcelona's offices accompanied by team officials including sporting director Deco.

In a statement, Barcelona said it chose “a man well-known for his teams’ high pressing, intense and daring style of play which has brought him great success at club level and international level, winning pretty much all there is to win in the world of football.”

Xavi, a midfield great as a player at Barcelona, left after the team finished a distant second to fierce rival Real Madrid in the Spanish league this season.

Then Germany's head coach Hansi Flick arrives for a training...

Then Germany's head coach Hansi Flick arrives for a training session at the Al-Shamal stadium on the eve of the group E World Cup soccer match between Germany and Japan, in Al-Ruwais, Qatar, Sunday, Nov. 20, 2022. Barcelona has hired former Germany and Bayern Munich coach Hansi Flick as the replacement for Xavi Hernandez. It’s the 59-year-old Flick’s first coaching job since being fired by Germany in September last year. Credit: AP/Matthias Schrader

Xavi coached his last game with the Catalan club on Sunday in the Spanish league, a 2-1 win at Sevilla.

His departure came a month after he had walked back a previous decision he made in January to leave the club this summer. In April, he said that he had changed his mind because the team was playing better and he believed it could bounce back from a trophy-less season.

Barcelona president Joan Laporta had publicly celebrated Xavi’s commitment to stay at that time. But last week the president was reportedly unhappy when the head coach spoke openly about how the club’s poor finances would impede it from competing with Real Madrid.

Flick is one of just two European managers who can boast the sextuple of trophies in the same calendar year.

He will be reunited with former Bayern striker Robert Lewandowski, who is now with the Catalan club. Flick also coached goalkeeper Marc-André ter Stegen and midfielder Ilkay Gündogan during his time as Germany coach.

Flick will be the third German coach in Barcelona’s history, following Hennes Weisweiler and Udo Lattek.

Flick’s Bayern won the Champions League title against Paris Saint-Germain after the trouncing of Barcelona. It was part of a stunning streak of titles in the depths of the pandemic which also included the Bundesliga, German Cup and Club World Cup.

Until now, that two-year stint at Bayern was Flick’s only career job with a top-division club. Before that he was best known as an assistant coach on the World Cup-winning German team of 2014.

Flick left Bayern for the German national team in 2021 but was fired last year after overseeing a 4-1 friendly loss to Japan that was Germany’s sixth game in a row without a win. Germany’s group-stage exit at the World Cup in 2022 was also a major factor and fans were concerned his management style had alienated key players.

A documentary following the German team at 2022 included scenes of Flick trying to inspire positive thinking among players who seemed bored or distant. One scene featured the squad being shown video of geese in an exercise apparently meant to improve teamwork, prompting widespread mockery from German fans.

Barcelona's last foreign coach had been Dutchman Ronald Koeman, who helped the club win the Copa del Rey in the 2020-21 season. Before that, Argentine Gerardo Tata Martino was in charge during the 2013-14 season.

___

AP Sports Writers Steve Douglas and James Ellingworth contributed to this report.

More soccer news

SUBSCRIBE

Unlimited Digital AccessOnly 25¢for 5 months

ACT NOWSALE ENDS SOON | CANCEL ANYTIME