Germany's 1,000th international match was spoiled by Ukraine as they battled it out in a six-goal thriller.

In the opening minute, Niclas Füllkrug had a golden opportunity to put Die Mannschaft ahead, but he fired his shot wide of a gaping goalmouth.

Redemption would come in the form of a finishing touch on Marius Wolf's shot to catch Anatolii Trubin off guard at his own Weserstadion.

Viktor Tsyhankov escaped their offside trap to meet Oleksandr Tymchyk's through pass before slotting home to bring Hansi Flick's side level.

Tymchyk was instrumental in the visitors grabbing the lead when Mykhailo Mudryk's strike deflected off Antonio Rüdiger.

On the stroke of halftime, Leroy Sané smacked a free kick against the post, ending Germany's historic adventure.

Serhiy Rebrov's first game in command of his country moved from strength to strength as they extended their lead early in the second half.

Artem Dovbyk dispossessed Matthias Ginter before teeing up Tsyhankov to add his goal, putting the hosts farther adrift.

By meeting Rüdiger's ball over the top with a precise finish in the final moments, Kai Havertz gave the four-time world champions hope of a decent finish.

He earned a penalty, which Joshua Kimmich sunk past Trubin at his left post in the first minute of extra time, setting up a late equaliser. On June 16 and June 20, respectively, Germany will play Poland and Colombia in their last summer friendly.