The 21-year-old scored three minutes after coming on as a substitute for the final half hour, and claimed his second in the last minute. Xherdan Shaqiri scored the other goals.

Gotze, a €37 million summer transfer from Bundesliga rivals Borussia Dortmund, had not played since April 30, when a hamstring injury forced him out of the Champions League semi-final at Real Madrid.

"It was a long recuperation period for me. Of course I was very unlucky," Gotze told broadcaster ZDF on Sunday. He said he decided to move to Bayern for "many little things that were important for me".