Everton have appointed Wigan Athletic boss Roberto Martinez as their new manager on a four-year contract.
The 39-year-old Spaniard won the FA Cup at Wigan this season, but asked to leave the DW Stadium after failing to keep them in the Premier League.
Roberto Martinez factfile
Playing career: Real Zaragoza (1993-94), Balaguer (1994-95), Wigan Athletic (1995-2001), Motherwell (2001-02), Walsall (2002-03), Swansea (2003-06), Chester City (2006-07)
Playing honours: Copa del Rey (1994), Football League Third Division title (1996-97), Football League Trophy (1998-99 & 2005-06)
Managerial career: Swansea City (2007-09) and Wigan Athletic (2009-13)
Managerial honours: League One title (2007-08) & FA Cup (2012-13)
He succeeds David Moyes, who takes over from Sir Alex Ferguson at Manchester United after 11 years at Goodison Park.
Martinez will be officially presented as Everton manager at a news conference at 16:00 BST.
Wigan said in a statement: "Roberto's influence at the club, both as a player and manager, an association that spanned over a decade, will remain unforgettable to all Latics' fans.
"The club would like to place on record its appreciation for his tireless work during that time, culminating in FA Cup glory last month at Wembley Stadium."
Martinez made 180 appearances as a player for Wigan between 1995 and 2001 before returning as manager eight years later.
Under him, Wigan finished 16th twice and in 15th place before slipping to relegation this season.
In June 2011, he was a target for Aston Villa but opted to stay at the DW Stadium. He was also strongly linked with the Liverpool job last summer.
Martinez, who was hired by Wigan after taking Swansea City from League One to the Championship, announced last month that he would leave the Latics after four years at the helm.
Image of Phil McNulty Phil McNulty Chief football writer
"Bill Kenwright was determined to be painstaking and detailed about his search for David Moyes' successor but he may also have had a gut instinct about RobertoMartinez and Everton being a perfect fit.
"He will hope, as he did so emphatically with Moyes, that he has made the right choice."
Read Phil's analysis of Everton's decision
Whelan said on Monday that he had agreed a deal with his Everton counterpart Bill Kenwright to allow the under-contract Martinez to leave.
The Spaniard takes charge of an Everton team which recently finished sixth in the Premier League.
The Toffees have secured a top-eight finish in each of their last seven campaigns.
Former Everton winger Pat Nevin told BBC Radio 5 live that Martinez will be judged a success at Goodison Park if he can maintain the club's current position.
He said: "The realism is, if he does as well as Moyes, he would have done a brilliant job. Moyes has maximised the potential of that club.
"Can he do better than that with their finances? He must roughly finish fifth or sixth, which isn't easy, and he will want to do it in a special way.
"Everton like a cultured game of football, so he will be welcomed. He does have one thing on his CV which Moyes hasn't got though, and [that] is a trophy."