Celtic came from two goals down to beat Kilmarnock as Julian Araujo’s dramatic stoppage-time winner fuelled their defence of the Scottish title in Martin O’Neill’s 300th game in charge of the Glasgow club.
Tyreece John-Jules and Joe Hugill had given the hosts a deserved lead at half-time.
But goals from Sebastian Tounekti and Benjamin Nygren after the break levelled for the Glasgow visitors before Araujo gave Celtic a stoppage-time winner for the third game in a row.
Celtic are now unbeaten in 10 games, winning their latest five, as they moved above Rangers into second place while their city rivals were facing leaders Heart of Midlothian at Tynecastle.
Kilmarnock had looked to be on their way to a third consecutive home win as they continue to show positive signs under new manager Neil McCann but remain three points behind third bottom St Mirren.
Perhaps inspired by their 4-3 midweek win over St Mirren, Neil McCann went with an attacking line-up and his side took the initiative from kick-off and had tested visiting goalkeeper Kasper Schmeichel a couple of times and had a penalty claim denied before Celtic threatened.
Daizen Maeda stung the palms of home goalkeeper Kelle Roos with a powerful drive, but Kilmarnock were quickly up the other end to score on the break.
Just when John-Jules appeared to make a mess of his charge into the penalty box, he slipped inside Auston Trusty and curled his drive into the far corner.
Having added to his midweek hat-trick, the big striker turned provider as his chip into the six-yard box was met by Hugill, whose header looped over goalkeeper Kasper Schmeichel and just over the line.
Kilmarnock survived some late first-half pressure, but the introduction of new signing Alex Oxlade-Chamberlain, Tomas Cvancara and Tounekti at the break turned the game.
Tounekti had already threatened before he cut inside and found the far corner with a trademark finish.
Celtic were back level when Kilmarnock failed to clear a long throw and Nygren stabbed in his 13th league goal of the season.
John-Jules fired a free-kick against the crossbar as both sides chased a winner.
However, it was Celtic who were creating the better chances and their pressure told when a tiring Kilmarnock failed to clear inside their penalty box and on-loan Bournemouth right-back Araujo swept in his first goal for the visitors to ignite wild scenes among the visiting fans.
