Hibernian took a big step towards Scottish Premier League survival after victory over Aberdeen moved them five points clear of the relegation spot.
Mark Reynolds' own goal from Leigh Griffiths' cross put Hibs ahead.
And defender Sean O'Hanlon doubled the Leith club's advantage when he flicked a header past Jamie Langfield.
Aberdeen striker Scott Vernon volleyed home from close range to get the Dons back into the match but, despite looking nervy, Hibs held on.
And they can clinch safety if they avoid defeat against bottom club Dunfermline on Monday evening.
Griffiths proved key to opening the scoring when he drilled the ball across the six-yard line for the unfortunate Reynolds to deflect into the net on seven minutes.
Hibs were dominating and O'Hanlon flicked a header into the back of the net from a Griffiths corner to double the visitors' advantage 10 minutes later.
The Dons did manage to carve out a chance with Kari Arnason picking up Jamie Masson's long-range pass, but the Icelander could not control the ball.
However, this move did expose some of Hibs' all-too-familiar defensive frailties, with neither O'Hanlon or Paul Hanlon picking up Arnason.
As the first half wore on Aberdeen gained a sense of urgency, but, on several occasions, their strikers were caught offside as the ball came forward.
Hibs then countered, with Griffiths exposing some half-hearted Aberdeen defending, but flicking his shot over the bar.
The lively Griffiths then picked up a route one ball from his goalkeeper to split the Dons defence, but his fierce effort flew past Langfield's left-hand post.
The second half started brightly and Vernon volleyed home after Gavin Rae headed the ball back across goal to get Aberdeen back into the match.
The goal gave the home side confidence, and they enjoyed a spell of dominance but failed to carve out much in the way of clear chances.
However, Arnason took the intiative and lashed a drive from 25 yards which keeper Mark Brown had to look lively to tip over the bar.
Hibs did manage a rare break up the field and Roy O'Donovan set up fellow substitute David Wotherspoon inside the box, but the left-sided player lofted his shot over the bar.
The nerves in the visitors' defence were showing, but Aberdeen's Josh Magennis headed an injury-time corner over the bar and the capital side left with the points.
Aberdeen 01 Langfield 03 Reynolds Booked 06 Considine 22 Jack 27 Anderson 11 Arnason 17 Fyvie (Smith - 74' ) 28 Rae 33 Masson (Fraser - 80' ) 09 Vernon 21 Magennis Substitutes 32 Brown 02 McArdle 07 Clark 30 Fraser 10 Mackie 23 Megginson 41 Smith Hibernian 31 Brown 02 Doherty 04 Hanlon 05 O'Hanlon 19 Kujabi 22 Francomb (Wotherspoon - 72' ) 08 Claros 13 Soares 24 Osbourne 09 O'Connor (O'Donovan - 59' ) 28 Griffiths (Sproule - 82' ) Substitutes 41 Grant 06 Murray 20 Stephens 07 Wotherspoon 17 Sproule 10 Doyle 18 O'Donovan