Wigan chairman Dave Whelan paved the way for manager Roberto Martinez to become the next Everton boss after reluctantly accepting the Spaniard's request to leave the club.

Talks had been ongoing between the pair over the last week since relegation from the Barclays Premier League followed their historic FA Cup win.

Martinez has been linked with the vacant job at Goodison Park ever since David Moyes was announced as Sir Alex Ferguson's successor at Manchester United and the Toffees made their move on Friday.

That appears to have persuaded the Wigan manager the time was right to end his four-year association with the club and although Whelan will not stand in the way of the 39-year-old, he will demand compensation.

Martinez remains in his post for the time being but Whelan told Press Association Sport: "Roberto wants to move on and I have got to accept it.

"Everton rang me and I said they have permission to talk to him. I would never stop Roberto talking to football clubs.

"We will let him go but he's on a 12-month rolling contract so if he moves someone will have to buy him out of his final year.

"We are still friends, we will always be good friends and he will always be a friend of Wigan Athletic."

Whelan said the club's relegation had been the main factor in Martinez's decision to seek a new challenge.

"He does not feel he is up to the task of getting us back into the Premier League," added the Wigan chairman.

"Football is football and I understand where he is coming from.

"Everton are a nice club and have a great chairman in Bill (Kenwright) and he is an honest man."

Whelan had hoped to hang to Martinez after the pair met on Thursday and the Spaniard had made certain requests about improving the club's training ground and youth development.

That appeared to put the ball in the chairman's court but having had the weekend to think about things Martinez decided he could not continue.

But he will leave with no hard feelings on either side, especially after giving the club their moment of glory at Wembley by beating Manchester City in the FA Cup final earlier this month.

"It is remarkable what he has done for Wigan," added Whelan.

"He kept us in the Premier League up to this season and won the FA Cup - what more could he do?

"We have had great success together and we will always be friends for life - I have great respect for him."

The task is now to find the right candidate to guide Wigan back to the Premier League, which many believe will be a difficult job in itself.

Whelan insists he does not have anyone in mind and encouraged interested parties to get in touch.

"I'm looking for applications for our (new) manager," he said.