Wigan are expected to confirm the return of one of their former players as their new club manager on Thursday.
Swansea boss Roberto Martinez is said to be finalising details of a three-year deal to replace Steve Bruce, who recently left to manage Sunderland.
If he's happy with everything, it will be the 35-year-old Spaniard's first manager's job in the Premier League.
It's thought Wigan agreed to pay up to £2m compensation to Championship side Swansea for letting Martinez leave.
Wigan owner Dave Whelan said they were "99% there" to agreeing all the details of the deal.
"Roberto has had a remarkable run at Swansea," he said. "He has worked wonders and I'm really excited about getting him."
Martinez first joined Wigan as a player in 1995 and stayed for six years.
More recently, he led Swansea to the League One title in 2007-08 and saw them finish eighth in the Championship in 2008-09.