Borussia Dortmund forward Serhou Guirassy headed an 83rd-minute winner to hand them a 2-1 victory over visiting St Pauli on Friday, and provisionally lift them to fourth place in the Bundesliga.
Guinea international Guirassy headed in a cross at the far post to bag the three points five minutes after St Pauli's Eric Smith silenced the home crowd with a stunning 30-metre equaliser.
Dortmund, who face Real Madrid in the Champions League next week, took a deserved lead through Ramy Bensebaini's looping header two minutes before the break.
They should have scored again with Julian Brandt and Donyell Malen among others spurning chances but instead it was the visitors who struck with Smith's 30-metre missile in the 78th minute.
Guirassy, however, headed in a cross from Jamie Bynoe-Gittens for his fourth goal of the campaign to lift Dortmund to 13 points. Leaders Bayern Munich, on 14, face VfB Stuttgart on Saturday. RB Leipzig, also on 14, travel to Mainz 05.