Shaun Edwards has signed a new deal to stay with the Welsh Rugby Union.
Edwards became a free agent last week when he parted company with Wasps, where he had coached for 10 years, a month after his part-time contract with Wales expired at the end of the World Cup in which they reached the semi-finals.
With England's coaching set-up possibly in line for a shake-up following their poor World Cup performance, Edwards, a master defensive tactician, was considered to be very much in the running to join the Rugby Football Union in some capacity.
However, he has signed a new contact with Wales up to and including the next World Cup which will also involve him working with younger players at the Welsh national academy.
The 45-year-old will also be free to work one day a week with an English Premiership club, as well as with Welsh Premiership clubs.