Last updated on .From the section Welsh

Osian Roberts was Chris Coleman's assistant manager when Wales reached the semi-final of Euro 2016

Osian Roberts has been named the Royal Moroccan Football Federation's technical director on a five-year deal.

Roberts joins Morocco in September, leaving his roles as Football Association of Wales' technical director and assistant manager.

The 54-year-old worked as Wales assistant manager to Gary Speed, Chris Coleman and current boss Ryan Giggs.

The FAW said it "thanks Osian for his commitment to Welsh football and wish him well in future endeavours".

Roberts was initially appointed technical director of the FAW Trust in 2007 before joining Gary Speed's coaching staff in 2010.

Giggs said: "I'm delighted for Osian taking up a new role and challenge at the Moroccan FA.

"I wish him all the best. I would like to thank him for all the support and input over the past 18 months and for the immense contribution he has made to Welsh football over the years."

Analysis from BBC Sport Wales' football correspondent Rob Phillips:

"It's the end of an era for grassroots and senior international football in Wales.

"His role in the Ryan Giggs set up has clearly diminished from the key influence he had under Gary Speed and as part of Chris Coleman's Euro 2016 trailblazers, but his imprint goes far deeper.

"His work with the FAW Trust since 2007 has been definitive - from setting up coaching courses attracting the likes of Patrick Vieira, Thierry Henry and Mikael Arteta to transforming the player development structure which has brought through the likes of Harry Wilson, David Brooks and Ethan Ampadu.

"Roberts is going, but his effects on Welsh football will last long beyond."