All-Ireland qualifiers: Meath 1-14 Donegal 1-15
Man-of-the-match Patrick McBrearty landed a superb long-range score in stoppage-time to give Donegal a one-point win over Meath at Navan.
The third-round qualifier looked to be heading to extra-time but the Chill Chartha forward sent the decisive point over from the edge of the 45.
Donegal had gone three points up when Ryan McHugh dived to palm in a goal.
But gutsy Meath hit back straight away with Cillian O'Sullivan following up to net and make it 1-12 each.
Donegal will now face one of the beaten provincial finalists and victory will put the 2012 winners into the last eight of the All-Ireland Championship.
Meath had been underdogs against Rory Gallagher's men but they pushed the Ulster men all the way at Pairc Tailteann.
The sides were level on seven points each after a closely-contested first half, Donal Lenihan landing three frees for the hosts and McBrearty scoring three points for Donegal.
The sides were level again on 0-12 each when McHugh finished off a move involving Martin McElhinney and Eoghan Bán Gallagher.
But Donegal's three-point cushion quickly disappeared as O'Sullivan pounced after a good save by keeper Mark Anthony McGinley.
Bryan Menton briefly edged Meath into the lead but ultimately it was McBrearty who landed the decisive point.
|All-Ireland qualifiers Round 2B|
|All-Ireland qualifiers Round 3A|