Nagelsmann was most recently at German champions Bayern Munich
Julian Nagelsmann will lead hosts Germany into Euro 2024 next summer.
The German football federation (DFB) confirmed on Friday that the 36-year-old had been appointed to succeed Hansi Flick in charge of the Nationalmannschaft, with the contract running through to the end of the tournament next July.
Nagelsmann was most recently at German champions Bayern Munich, who sacked him in March and replaced him with former Chelsea boss Thomas Tuchel.
Nagelsmann’s playing career was cut short at the age of 20 by injury and he moved into coaching, with his big break coming at Hoffenheim in 2015.
He moved on to RB Leipzig before joining Bayern in 2021.
The DFB said Nagelsmann had been its “unanimous choice” to replace Flick, who was sacked earlier this month with the national team having lost four of their last five matches, including a 4-1 defeat to Japan.

Wales Stun All Blacks To End 73-Year Wait For Victory
Ireland Face Must-Win Kosovo Clash After Narrow Defeat To Austria
Kildare Trio Feature As Ireland Overcome Fiji In Nations Championship
Kildare's Sean O'Haire Kicks Dramatic Last-Minute Winner In American College Football
Sunday Morning Sports Update
Milltown Through To Leinster Intermediate Semi-Finals After Victory Over Meath Champions
Sarsfields Leinster Championship Campaign Ends After Heavy Defeat To Cuala
More Than 20 Horses Withdrawn At Cheltenham Over Ground Conditions