Wigan Warriors legend Shaun Edwards will return to the Super League club as head coach in 2020, after Adrian Lam takes the job for a season.

Edwards will take charge of the club - where he spent 14 years and won every available honour - after fulfilling his commitments as Wales' defence coach at the 2019 Rugby World Cup.

Current coach Shaun Wane is joining Scotland Rugby later this year.

Ex-Papua New Guinea coach Lam spent three years a Wigan player from 2001.

Wigan Warriors chairman Ian Lenagan said he was "delighted" 51-year-old Edwards had signed a three-year contract.

"He is a legendary figure in both codes of rugby as a supremely gifted player and as a highly successful coach," he added.

"He is an inspirational figure, a born leader and a winner at everything he has turned his attention to."

Wane, 53, will depart Wigan with an impressive coaching CV, including two Super League titles, a Challenge Cup and three World Club Challenge wins.

Lam, 47, most recently worked with Sydney Roosters at age-group level, and as head coach at Cronulla in Australia's National Rugby League.

He also worked as under-20s coach at Wigan earlier in his career.

But it is the appointment of 51-year-old Edwards that will create the most interest outside of rugby league.

Since turning to coaching, Edwards' greatest achievement was to lead Wasps to Heineken Cup glory in 2007, having previously been involved as Warren Gatland's assistant.

Wigan-born Edwards followed Gatland to work in the Wales set-up - and again as part of the New Zealander's British and Irish Lions backroom team.

It is 18 years since he last worked in professional rugby league, after retiring from playing in 2000.

Edwards was linked with the vacancy at Warrington, before Steve Price was handed the job to succeed Tony Smith, and previously expressed his interest in returning to the 13-man code.

What will Lam inherit?
Exactly what he will walk into at Wigan will be determined by what happens between now and the end of the campaign, with Warriors in second place going into the Super 8s section of the season.

What is certain for the former PNG playmaker is the departure of several key players. England internationals Sam Tomkins and John Bateman are off to Catalans and Canberra respectively, with Ryan Sutton joining Bateman in the Australian capital.

That said, there is a core of highly rated home-grown players which Wane has helped establish in first-grade rugby, such as wingers Tom Davies and Liam Marshall and centre Oliver Gildart.

'A great servant to Welsh rugby'
Wales Rugby Union (WRU) chairman Gareth Davies said: "We would like to congratulate Shaun on his appointment at Wigan Warriors.

"He is a rugby league legend and particularly so at Wigan and we know he will be welcomed back there with open arms.

"From a Wales perspective entering a crucial world cup year it is great that Shaun has committed to seeing out his contract with the WRU and to continue to help lead Wales into the world cup.

"Shaun has and continues to be a great servant to Welsh rugby. He has been part of a hugely successful coaching team over the past ten years and we would like to thank him for all of his efforts.

"I am sure I speak on behalf of the whole game in Wales when I say I wish him all the best for his future."