Hoffenheim have extended the contract of their head coach Julian Nagelsmann until 2021, with sporting director Alexander Rosen committing to a new deal through to 2020.

Nagelsmann, 29, guided the Sinsheim-based club from the brink of a relegation battle when he took over in February 2016 to a first ever European qualification – for the UEFA Champions League no less – in the season just ended.

"I am so much looking forward to the challenges coming our way," said Nagelsmann, who became the youngest coach ever to work in the Bundesliga last year. "We just feel so good here and have perfect conditions to work successfully.

"This is a milestone along our pathway, since it is a strong signal to the club and the team and evidence of continuity and stability."

Watch: Hoffenheim's tactical wizardry:

It is a signal the Bundesliga club were keen to send out, having enjoyed unprecedented success with Nagelsmann's "refreshing brand of courageous, attacking football," in the words of the club's general manager Dr Peter Görlich. "Not only have people in Germany stood up and taken note, but people all over Europe will get to see us for the first time too.

Read: Nagelsmann: Hoffenheim's mastermind

"We can face the challenges ahead with a great deal of self-confidence and enthusiasm," added Görlich, already looking forward to Hoffenheim's Champions League play-off at the end of August, and the hopes of going another season unbeaten at the WIRSOL Rhein-Neckar-Arena.

Click here for more Hoffenheim news

Click here for an overview of summer transfers