Former Huddersfield boss has been appointed head coach of German club Schalke from the start of next season.
Wagner has been out of work since he left the Terriers by mutual consent in January.
He joins Schalke on a three-year deal and replaces interim boss Huub Stevens, stepping in for Domenico Tedesco, who was sacked in March.
Wagner used to be in Schalke’s ‘enemy camp’ having been in charge of rivals Borussia Dortmund’s reserve team from 2011-15.
Schalke have had a bad season in the Bundesliga, currently lying 15th in the table but are safe from relegation with two games to play.
LATEST FOOTBALL NEWS
HAZ IS BACK
Chelsea vs Eintracht Frankfurt teams: Hazard recalled to Blues' starting XI
Valencia vs Arsenal: Watch without paying extra, TV channel, kick-off time, line-ups
Chelsea vs Frankfurt: Watch without paying extra, TV channel, confirmed line-ups
Valencia v Arsenal live on talkSPORT: Confirmed line-ups for Europa League clash
Barcelona boss Ernesto Valverde 'facing the sack' after Liverpool humiliation
NOT SO SUPER
Paul Pogba's agent banned from agent activities by Italian FA
Tottenham's ‘name is written’ on Champions League trophy, says club legend
Benali reaches £1m fundraising goal after completing 5 triathlons in one week
Meanwhile, Huddersfield were unable to stay in the Premier League under Jan Siewert’s guidance.