Juan Mata
Mata had become sidelined at Chelsea under Jose Mourinho.

Manchester United have agreed to sign Juan Mata from Chelsea for a club record fee of £37 million, subject to a medical and agreement of personal terms with the Premier League champions.

Mata has played a peripheral role at Chelsea since the summer return of Jose Mourinho and will join United charged with inspiring a turnaround in the club's hopes of qualifying for the Champions League.

In a statement, his new club said: "Manchester United is pleased to announce it has reached an agreement with Chelsea for the transfer of Juan Mata for a club record fee. The deal is subject to a medical and the agreement of personal terms. A further announcement will be made in due course."

Chelsea manager Jose Mourinho said: "Things are going in a good direction. We have allowed Juan to travel and have the medical. The player deserves respect and to play and because the offer is right, we allowed him to negotiate. It's what he wants. It's what he asked us to accept."

If all goes smoothly, Mata could make his debut for United on Tuesday, against Cardiff City.

The 25-year-old has made 20 appearances for the Blues in all competitions this season, but has fallen out of favour with Mourinho after being omitted from the team against United, Arsenal and Manchester City this term.

United's club record deal comes after manager David Moyes came under pressure to make a marquee signing after United fell 14 points behind leaders Arsenal in the Premier League and were knocked out of the FA Cup by Swansea City and the League Cup by Sunderland in the early weeks of January.

On Thursday, Chelsea confirmed the signing of Mohamed Salah from FC Basel as a replacement for Mata, who is expected to travel with Spain to the 2014 World Cup despite his infrequent appearances this term.

Watch a compilation of Mata's best moments for Chelsea on YouTube, below: