Manchester United are set to appoint Jose Mourinho as their new manager, BBC Sport understands.
It is believed a deal with the 53-year-old Portuguese was agreed in principle before United's FA Cup final win against Crystal Palace on Saturday.
With United failing to qualify for the Champions League under Louis van Gaal, the Old Trafford hierarchy is thought to have decided a change is required.
Mourinho has been out of work since he was sacked by Chelsea in December.
- Reaction to Mourinho's appointment
- Man Utd beat Palace to win FA Cup
- Phil McNulty: What has gone wrong for Van Gaal?
The club plan to announce his arrival early next week after telling Van Gaal, 64, his reign has come to an end.
Van Gaal remains defiant
In the post-match news conference following United's FA Cup win, the Dutchman said: "I show you the cup and I don't discuss it [my future] with my friends of the media, who already sacked me for six months. Which manager can do what I have done?"
When pressed on whether he will be at Old Trafford as manager of United next season, he replied: "I hope to see you. I don't want to talk about about leaving this club."
The Dutchman still has one season remaining on his three-year deal, but despite spending £250m on new players, his tenure has disappointed many fans, the club finishing fourth and then fifth in the Premier League.
Mourinho remains silent
Van Gaal's grip on his job has seemed increasingly fragile this season, with Mourinho known to covet the task of masterminding a revival at United three years after legendary former manager Sir Alex Ferguson stepped down.
He was at heavyweight boxer David Haye's win in London on Saturday evening but repeatedly declined to comment on whether he was about to succeed Van Gaal.
Mourinho is one of the game's most successful coaches, winning three league titles in his two spells at Stamford Bridge, as well as guiding Porto and Inter Milan to Champions League victories in 2004 and 2010 respectively.
He also led Real Madrid to the Spanish La Liga title in 2012, and his arrival will mean a mouthwatering resumption of his rivalry with former Barcelona manager Pep Guardiola. The Spaniard will take over at United's arch-rivals Manchester City this summer.
Having sacked previous manager David Moyes just 10 months after he succeeded Ferguson, United's executive vice-chairman Ed Woodward was desperate for Van Gaal to see out his contract.
Some senior figures at United were also known to have serious reservations about the prospect of the controversial Mourinho, with some preferring Ryan Giggs as an alternative.
The Welshman, who made a record 963 appearances for the club, took over as manager on an interim basis in April 2014 following the sacking of Moyes, and was understood to be keen on the job.
|Mourinho and Man Utd|
|Is Jose Mourinho the answer?|
|Mourinho 'can help Man Utd beat Guardiola'|
In February, however, BBC Sport revealed that United had held talks with Mourinho's representatives, and they have now come to fruition.
Woodward - and United's American owners, the Glazer family - still hoped Van Gaal would lead the club to a top-four finish - and up until last month Mourinho's advisers were concerned the club might remain loyal to the Dutch coach.
But fans were not convinced by Van Gaal's tactics. The club's 49 goals in the Premier League this season was United's lowest total since 1989-90, coincidentally a season that also ended with an FA Cup final win over Crystal Palace.
There were occasional high points, not least Van Gaal's theatrical dive in front of the dug-outs during the 3-2 win over Arsenal in February as he accused the Gunners of diving.
But since collecting only three points in six games at the end of 2015, Van Gaal has been under intense pressure.
He has accused the media and former players of "sacking him", and cited injuries as the reason why United have been unable to sustain a title challenge.
Nevertheless, Van Gaal's side still had Champions League qualification in their own hands 14 minutes from the end of their penultimate Premier League game at West Ham, only to concede two late goals, lose 3-2 and allow Manchester City to claim the fourth qualifying slot.
And, after members of the United hierarchy suggested in December that the season was 80% about the Premier League, it is the failure to qualify for the Champions League that has appeared to seal Van Gaal's fate.
|Champions League - 2||Premier League - 3|
|FA Cup - 1||League Cup - 3|
|La Liga - 1||Copa del Rey - 1|
Despite his track record, some will question United's decision to appoint Mourinho.
He was sacked by Chelsea in December just seven months after leading them to the Premier League title, with their season overshadowed by a spectacular slump in form and issues off the pitch that included a public fallout with club doctor Eva Carneiro.
Ultimately, however, United appear to have decided it is a risk worth taking.
Mourinho has never hidden his admiration for United - and for Ferguson. Now it seems he will have the opportunity to follow in his footsteps.
|Mourinho in the Premier League with Chelsea|
The appointment will mean some long overdue issues can be dealt with, not least whether the club's second longest-serving player Michael Carrick should be awarded a new contract.
It remains to be seen what Giggs will do.
Having served under Moyes and Van Gaal, the prospect of continuing his apprenticeship under a third United boss may not appeal.
It remains to be seen whether the club can find an alternative role for their most decorated player.
Giggs would not be short of offers if he decided to join the management ranks.
But many of the Welshman's former team-mates - most recently close friend Gary Neville at Valencia - have not found management easy.
Never want to miss the latest Man Utd news? You can now add United and all the other sports and teams you follow to your personalised My Sport home.