Match ends, Hibernian 3, Rangers 2.
Hibernian boosted their hopes of overhauling Falkirk for second place in the Championship with an exciting if error-strewn victory over Rangers.
The hosts were 2-0 ahead inside 20 minutes via Jason Cummings' 24th of the season and an own goal by bewildered Rangers goalkeeper Wes Foderingham.
Rangers pulled a goal back before half-time when Jason Holt punished a lapse from Hibs keeper Mark Oxley.
Niklas Gunnarsson's volley made it 3-1 before Barrie McKay's rocket late on.
That made for a nervy finish for a Hibs team that desperately needed the win as opposed to Rangers, who have already secured the title.
They saw it out, but only after Mark Oxley saved a Holt shot from close range, a moment that had the home fans beside themselves with worry.
Hibs are now just three points behind Falkirk in the chase for second in the Championship. They also have a game in hand over Peter Houston's side, although their goal difference (+19) is inferior to Falkirk's (+26).
In a dress rehearsal for the Scottish Cup final on 21 May, Rangers made just one change to the team that conquered Celtic at Hampden on Sunday - Michael O'Halloran coming in for Dean Shiels - but in every other way, for large parts of the night, they were a different team.

In the Scottish Cup semi-final they came up against a passive Celtic and out-played them. Here, they assumed that subdued, error-prone role themselves in the early moments. Hibs had an edge to them, a hunger to get into second place and avoid those two extra play-off games.
And inside five minutes they had the lead. The first of the defensive calamities came when Rangers fell asleep at a throw-in and Cummings galloped through their disorganised defence to smash the opening goal past Foderingham.
That was quickly followed by the second - and this was even softer with a touch of comedy added on top. Anthony Stokes put in a cross from the right and Foderingham lost the plot in trying to deal with it. Instead of catching it or putting it out for a corner, the goalkeeper pawed into his own net.
Things stated to get tricky for Hibs when Cummings was booked, correctly, for diving in an attempt to win a penalty. Three minutes later, their lead was halved when James Tavernier dinked a cross goalwards. Oxley, taking over from Conrad Logan, the big polar bear of Hampden, should have dealt with it, but he failed.

Oxley pawed it onto his crossbar but Holt buried the loose ball. It was now about Hibs' character. Last midweek, they lost a 2-0 lead to Falkirk in the dying minutes at Easter Road and the memory of it almost hung in the air above the home support.
Hibs, though, scored a third early on the resumption. Again, the Rangers defence was sluggish, failing to clear the danger after a corner met by Paul Hanlon and allowing Gunnarsson the freedom to wait for the ball to drop to him inside the box before rifling his shot past Foderingham.
The visitors pressed without joy until McKay's beauty from 25 yards set up that frenetic finish.
Line-ups
Hibernian
Formation 3-5-2
- 1Oxley
- 27Gunnarsson
- 24McGregor
- 4Hanlon
- 2Gray
- 8FyvieBooked at 90mins
- 6Bartley
- 18McGinn
- 16Stevenson
- 28StokesSubstituted forDagnallat 89'minutes
- 35CummingsBooked at 38minsSubstituted forKeatingsat 77'minutes
Substitutes
- 3Henderson
- 17Boyle
- 19Keatings
- 25Logan
- 29Dagnall
- 30Thomson
Rangers
Formation 4-1-4-1
- 25Foderingham
- 2Tavernier
- 4Kiernan
- 27Wilson
- 5Wallace
- 6BallSubstituted forZelalemat 61'minutes
- 29O'HalloranSubstituted forKingat 61'minutes
- 16HallidayBooked at 44mins
- 23Holt
- 19McKayBooked at 90mins
- 9MillerBooked at 27minsSubstituted forShielsat 77'minutes
Substitutes
- 7Law
- 8Zelalem
- 14Clark
- 17King
- 22Shiels
- 51McCrorie
- 62Burt
- Referee:
- Kevin Clancy
- Attendance:
- 12,231
Match Stats
- Possession
- Home31%
- Away69%
- Shots
- Home5
- Away4
- Shots on Target
- Home3
- Away3
- Corners
- Home2
- Away9
- Fouls
- Home14
- Away12
Live Text
Post update
Full Time
Second Half ends, Hibernian 3, Rangers 2.
Post update
Corner, Rangers. Conceded by Mark Oxley.
Booking
Barrie McKay (Rangers) is shown the yellow card.
Booking
Fraser Fyvie (Hibernian) is shown the yellow card for a bad foul.
Post update
Barrie McKay (Rangers) wins a free kick in the defensive half.
Post update
Foul by Fraser Fyvie (Hibernian).
Post update
Foul by Barrie McKay (Rangers).
Post update
Chris Dagnall (Hibernian) wins a free kick in the attacking half.
Post update
Attempt saved. Jason Holt (Rangers) right footed shot from the centre of the box is saved in the top centre of the goal.
Substitution
Substitution, Hibernian. Chris Dagnall replaces Anthony Stokes.
Goal!
Goal! Hibernian 3, Rangers 2. Barrie McKay (Rangers) right footed shot from outside the box to the top right corner. Assisted by Billy King.
Post update
Corner, Rangers. Conceded by Paul Hanlon.
Post update
Billy King (Rangers) wins a free kick on the right wing.
Post update
Foul by Fraser Fyvie (Hibernian).
Post update
Hand ball by Billy King (Rangers).
Post update
Andy Halliday (Rangers) wins a free kick in the defensive half.
Post update
Foul by John McGinn (Hibernian).
Substitution
Substitution, Rangers. Dean Shiels replaces Kenny Miller.
Substitution
Substitution, Hibernian. James Keatings replaces Jason Cummings.