Thomas Muller's second Bundesliga goal of the season was enough for Bayern Munich to see off Borussia Monchengladbach 1-0 at Borussia-Park.
The Germany international had last netted in the German top flight in December 2016, going nine games without a goal, but he ended his drought with a fine finish after the break to seal the win for Carlo Ancelotti's men.
Bayern had reason for optimism heading into the encounter, having won six of its eight Bundesliga games in 2017 and drawing the remaining two, but it also knew Dieter Hecking's men would pose a stern test.
Gladbach had lost just four of its 11 Bundesliga games against Bayern since the start of the 2011-2012 campaign, beating the Bavarians four times and recording three draws.
There would not be another positive result for Gladbach in this one, though, as Muller eventually made the difference on his 250th league appearance after Robert Lewandowski had wasted three fine chances, with Arjen Robben also unfortunate to hit the woodwork.
This weekend's results see Bayern open up a 13-point lead over RB Leipzig after the second-placed team's defeat to Werder Bremen, with nine games remaining.
Gladbach made an encouraging start to the game and Bayern survived an early scare when Martinez only just managed to prevent Tony Jantschke from firing home at close range, the Spaniard making a strong block in the fourth minute.
The visitor slowly grow into the game from there on and Lewandowski should perhaps have opened the scoring after being sent clean through on goal by Franck Ribery, only for the Poland international to aim a tame shot straight at goalkeeper Yann Sommer.
Bayern pinned back Gladbach inside its own half as it went in search of the opener and Robben was unfortunate not to hand his side the lead when he hit the upright with a fine shot from just outside the area, Sommer then pulling off a superb save to deny Lewandowski from the rebound.
Lewandowski threatened a third time early in the second half after a fine low cross from Muller, but the former Dortmund star failed to properly get his foot to it as he aimed yards wide.
Raffael then tried his luck from 20 yards after a rare Gladbach counterattack, the forward blasting a powerful shot just wide of the target.
Bayern continued to dominate proceedings, though, and Muller eventually broke the deadlock in the 63rd minute, beating Sommer from close range after a brilliant ball over the top from Thiago Alcantara.
Hecking brought on Josip Drmic and Thorgan Hazard in an attempt to force an equaliser, but the Bayern defence did well to hold onto their slender lead.