Offaly maintained their Allianz FL Division 3 status with a last-gasp win over relegated Sligo at a blustery Connolly Park.
Substitute Mark Abbott was on the pitch for over a minute when he fisted the decisive point in the third minute of time added to give Offaly a 1-11 to 1-10 victory.
This result, combined with Carlow's loss to Laois, kept Offaly out of the AFL's bottom tier for 2020.
This outcome was Sligo's seventh loss in this year's third tier, with manager Paul Taylor yet to experience victory in charge of his native county.
The hosts, who were reduced to 14 players when talisman Niall Murphy collected a second booking with 51 minutes played, appeared to have done enough to hold on for a draw.
Struggling Sligo, who gave a first start of the campaign to goalkeeper Eamonn Kilgannon, were looking to wrap up a horror season that had seen them lose six times ahead of their final game at this level for at least 12 months.
Offaly, wind-assisted in the first-half at the Collooney venue, wasted a number of goal chances over the 70+ minutes beginning with Shane Horan's goalbound flick that Sligo wing-back Darragh Cummins managed to scramble out for a '45' in the third minute.
The visitors again threatened to goal six minutes later but Niall McNamee, who would end up shooting 1-06, was off target with a lob attempt after he intercepted Sligo goalkeeper Eamonn Kilgannon's short kick-out.
The hosts, producing their best stuff of what has been a poor season, led 0-4 to 0-2 by the 16th minute – two of their early scores coming from Niall Murphy.
Quicksilver points from Bernard Allen and Peter Cunningham brought Offaly level, but they only scored one more point over the next 20 minutes.
Sligo took over, without entirely dominating, and were 0-7 to 0-5 ahead at the break. Midfielder Gerard O'Kelly-Lynch, recently an Allianz Hurling League Division 3B runner-up with the Yeats County, bagged one of the points that put the Connacht side in front.
Offaly made a fine start to the second half and scored 1-01 within five minutes of the restart. Niall McNamee hit a smartly-taken goal after a Sligo defensive error.
A 43rd minute goal for Gerard O'Kelly-Lynch scoring from a rebound after Niall Murphy's shot was blocked – restored Sligo's lead.
From then on it was tit-for-tat – the score was level on four further occasions until Mark Abbott's match-winning point – although Sligo were on the back foot following Niall Murphy's dismissal.
There was another glaring goal miss from Offaly, who overcooked a move and Anton Sullivan scuffled the ball wide – one of 13 wides in all for the midlanders, who survived in the end.
Sligo: Eamonn Kilgallon, Paul McNamara, Peter Laffey, Mikey Gordon, Darragh Cummins (0-2), Adrian McIntyre, Eoin McHugh, Paul Kilcoyne, Gerard O'Kelly-Lynch (1-2), Neil Ewing, Sean Carrabine, Karl McKenna, Niall Murphy (0-3, 1f), Pat Hughes (0-1), Adrian Marren (0-1)
Subs used: Liam Gaughan (0-1) for Eoin McHugh, 50; Luke Gilmartin for Karl McKenna, 61
Offaly: Paddy Dunican (0-1, 1f), Declan Hogan, Eoin Rigney, David Dempsey, Niall Darby, Johnny Moloney, Paul McConway, Eoin Carroll, Cathal Mangan, Shane Horan, Peter Cunningham (0-1), Anton Sullivan, Bernard Allen (0-2), Niall McNamee (1-6, 3f), Ruairi McNamee
Subs used: Cian Donohoe for David Dempsey, h-t; Shane Tierney for Ruairi McNamee, 68; Mark Abbott (0-1) for Eoin Rigney, 70+2
Referee: Eamonn O'Grady (Leitrim)