Barcelona will sign Brazil midfielder Philippe Coutinho from Liverpool on a five-and-a-half year contract, the two clubs said on Saturday.

British media reported that the Spanish club will pay around 142 million pounds (193 million dollars) for Coutinho, making it the third most expensive transfer in soccer history.

“Barcelona and Liverpool have reached an agreement for the transfer of Philippe Coutinho,” the La Liga leaders said in a statement.

“The player will sign a contract for the rest of the season and five more and will have a release clause of 400 million euros.

“In the next few hours we will give details of the player’s arrival and his presentation.”

Liverpool confirmed the deal.

“Liverpool FC can confirm Philippe Coutinho will be leaving the club after a transfer agreement was reached with FC Barcelona, subject to medical and agreement of personal terms,” the Premier League club said.

“The player now has permission to complete the usual formalities to conclude the transfer immediately.”

Also Read  Real Madrid prepare €135m bid for Mbappe

Paris St Germain paid Barcelona 222 million euros for Brazilian forward Neymar in August and the French club will pay Monaco 180 million euros to sign Kylian Mbappe when he completes a loan spell this season.

Coutinho’s fee will eclipse both the 105 million euros Barca paid Borussia Dortmund for France forward Ousmane Dembele in August and the 75 million pounds (102 million dollars) that Liverpool received from Barcelona for Luis Suarez in 2014.

According to reports, Coutinho, 25 is expected to watch the La Liga leaders play Levante on Sunday in the presidential box at the Nou Camp.

The Brazilian has not played in Liverpool’s last two games against Burnley in the Premier League and Everton in the FA Cup, with coach Jurgen Klopp saying he has a thigh injury.

Coutinho did not travel with Liverpool to Dubai on Saturday for warm weather training.