Inter Milan completed the signing of Danish international midfielder Christian Eriksen from Tottenham Hotspur on Tuesday.

Eriksen, 27, has signed a contact until 2024 with the Italian giants after the clubs reached an agreement for a reported transfer fee of 20 million euros (£17 million, $22 million).

“We can confirm the departure of Christian Eriksen who has today completed a transfer to Inter Milan,” Tottenham said in a statement. “We wish you all the best for the future.”

Eriksen made 305 appearance for Spurs after joining from Ajax in 2013, scoring 69 goals.

Tottenham also confirmed the permanent signing of Giovani Lo Celso from Real Betis to replace Eriksen on Tuesday.

Eriksen was a key part of the side that reached last season’s Champions League final and finished in the top four of the Premier League for the past four seasons under Mauricio Pochettino.

However, a contract standoff with the club meant a departure was inevitable either this month or on a free transfer at the end of the season.

Eriksen expressed his desire to move at the end of last season and was jeered by some Spurs fans in recent games as speculation over his future grew.

Tottenham manager Jose Mourinho praised the Dane’s professionalism, but expressed frustration at the timing of the move after weeks of negotiations between the clubs.

“The only thing I can say is Eriksen, since I arrive, he is behaving in a very, very professional way, with me and the team,” Mourinho said after Saturday’s 1-1 draw at Southampton.

“Tottenham is the last one to blame for this situation.”

Eriksen becomes Inter’s third signing of the January window after the arrivals of Ashley Young from Manchester United and Victor Moses on loan from Chelsea as they aim to end Juventus’ stranglehold on the Serie A title.

Antonio Conte’s men are three points behind Juve at the top of the table, but their title challenge has stumbled of late with three consecutive draws.

Spurs sign Giovani Lo Celso on a permanent deal

Tottenham have exercised their option to convert the loan signing of Giovani Lo Celso from Real Betis into a permanent deal, the Premier League club announced on Tuesday.

The Argentine midfielder joined Spurs in August on loan but has now signed a contract for a reported fee of around £27 million ($35 million), keeping him at the club until 2025.

“We are delighted to announce that we have exercised the option to convert the loan of Giovani Lo Celso from Real Betis Balompie to a permanent transfer,” Spurs said in a statement on their website.

“The midfielder has produced impressive performances after establishing himself in the team following a hip injury which restricted his playing time in the early part of his loan at the club.”

The former Paris Saint-Germain player has made 20 appearances for Spurs this season, scoring two goals.

Tottenham also confirmed the departure of Christian Eriksen after agreement was reached with Inter Milan for the sale of the Denmark international.

“We wish Christian well for the future,” the club said.

Jose Mourinho’s side are currently sixth in the Premier League, six points behind fourth-placed Chelsea.