BERLIN (AP) Pierre-Emerick Aubameyang's 14th goal of the season gave Borussia Dortmund a 3-2 win over bitter rival Schalke in the Bundesliga's 87th Ruhr derby on Sunday.

''The win is more than deserved,'' said Dortmund sporting director Michael Zorc, whose side remained five points behind leader Bayern Munich.

''With 29 points we'd be table leaders in Spain and Italy but Bayern Munich don't play there,'' Zorc said.

More from FoxSports

Japan midfielder Shinji Kagawa broke the deadlock in the 30th with a header off Dortmund defender Matthias Ginter's cross.

Klaas Jan Huntelaar equalized three minutes later after Mats Hummels gave the ball away. Leon Goretzka chipped forward for the impressive Leroy Sane, who headed the ball past Sokratis and gave Huntelaar a tap-in.

Ginter restored Dortmund's lead in the 43rd with a header from Henrikh Mkhitaryan's corner and Aubameyang made it 3-1 in the 48th. Mkhitaryan sent a loose ball forward and Gonzalo Castro timed his pass perfectly for Aubameyang to score inside the far post.

The Gabon striker, who has 22 goals in 20 competitive games for Dortmund this season, celebrated by taking off his jersey to reveal a Batman logo and the words ''Do you remember'' referring to the last Ruhr derby where he celebrated scoring with a Batman mask. Aubameyang was booked for Sunday's gesture.

Schalke goalkeeper Ralf Faehrmann kept his team in the game with saves from Ilkay Gundogan and Mkhitaryan before Huntelaar claimed his second with a classy chip in the 70th to set up a tense finale.

''You could see we were perhaps lacking a little experience, that we conceded so soon after the break,'' Schalke coach Andre Breitenreiter said. ''But we showed great morale to come back.''

Roman Buerki made a fingertip save to push Schalke substitute Pierre-Emile Hojbjerg's shot onto the post as the visitors finished strongly.

''We played well, unfortunately lost. But we did all we could,'' Huntelaar said.

Tempers became frayed toward the end of the game when Faehrmann made another huge save to deny Gundogan.

''It would have been our own fault if we didn't take all three points,'' Ginter said.

Bottom side Augsburg was to host Werder Bremen later.