Ultan Kelm's goal one minute from time proved decisive as Longford were knocked out of the Tailteann Cup by Fermanagh at Glennon Brothers Pearse Park.
Longford dominated the opening exchanges and were two points clear at the break before a late surge saw Fermanagh score a 1-12 to 0-12 victory.
Longford settled into the game faster and four points from Darren Gallagher and one from Keelin McGann saw the hosts lead 0-5 to 0-1 on 22 minutes.
Fermanagh regrouped to make it a two-point game on 26 minutes but the visitors were subsequently down to 14 men for ten minutes when Conall Jones received a black card.
Longford failed to make the advantage count on the scoreboard but still led 0-6 to 0-4 at the half-time break nonetheless.
McGann pushed Longford three points clear within two minutes of the restart before point from Sean Quigley and Ryan Jones left a single point between them on 40 minutes.
Longford’s Ryan Moffett was subsequently shown a black card and two minutes later, Quigley slotted over a point to level the game.
Fermanagh capitalised on their advantage and moved two points clear with 17 minutes remaining. Moffat subsequently returned to the field and he later narrowed the margin to a single point.
McGann levelled the game 13 minutes from time before a point from Quigley and 69th minute goal by Ultan Kelm saw Fermanagh move four points clear heading into injury time.
Ryan Jones subsequently added another point for Fermanagh and while Gallagher and Fergal Sheridan replied with late points for the hosts, they still came up short in the end.