Midfielder Bastian Schweinsteiger found time to pose for a selfie with a pitch invader as he made his 121st and final international appearance for Germany
A close-range finish from Olympic silver-medallist Max Meyer early in the second half and Paulus Arajuuri's late own-goal decided the game in the hosts' favour, but it was the retiring Schweinsteiger who took centre stage.
In what was his 121st appearance for his country, the Manchester United midfielder completed 67 minutes and posed for a selfie with a pitch invader wearing a 'Schweinsteiger 7' shirt, before leaving the field to a standing ovation.
And the 32-year-old, who announced his intention to retire following Germany's elimination at Euro 2016, was reduced to tears as he addressed the crowd.
"It means so much that you're here today," he said. "It has been an honour to play for you.
"I think you all saw how it affected me.
"I had just wanted to enjoy every moment, but I hadn't expected it to be so lovely."
Schweinsteiger, who had been linked with a deadline-day move out of Old Trafford, helped steer Germany to the 2014 World Cup and represented his country at six other major tournaments.
He made his international debut in a 2004 friendly clash with Hungary and went on to score 24 goals.
Germany start their World Cup qualification campaign with a trip to Norway on Sunday.