A late point from Fermanagh's John Woods knocked Westmeath out of the All-Ireland SFC qualifiers on a 3-10 to 1-15 scoreline.
The Ernesiders led 2-05 to 0-07 at the break in Mullingar, after some porous Westmeath defending led to goals for Conor Quigley and Damian Kelly.
A John Heslin penalty drew Westmeath level, but Fermanagh fired back with a third exquisite goal from Ryan Jones.
Woods applied the coup de grace late on as Westmeath, who had Kieran Martin dismissed, were sent packing.
The lively Seán Quigley knocked over four first half points for the visitors, while Kelly continuously roamed from his starting position at corner back – causing numerous problems for Westmeath.
The worst moments for the hosts came when their defence gave way for the two goals, Conor Quigley netting in the 13th minute after a goalkeeping error from Gary Connaughton and Kelly also beat Connaughton 10 minutes before the break.
A brace apiece from Denis Glennon and Denis Corroon kept Westmeath in touch however, and early in the second half Heslin's penalty – awarded after Glennon was floored by Fermanagh net minder Chris Snow – levelled matters.
A point from Ger Egan gave the hosts their first lead of the afternoon, but the Ernesiders kept finding holes in the Westmeath rearguard, and scored 1-02 without reply – including Jones' scintillating individual goal in the 48th minute, and a sublime point from Tomás Corrigan.
Pat Flanagan's troops responded with frees from the reliable Heslin, but they were never really at the races and their cause was not helped by wing forward Kieran Martin's dismissal for a second booking on 62 minutes.
The hosts stayed in contention thanks only to Fermanagh's wayward kicking – they clocked up 20 wides over the 70 minutes – and a late brace from Callum McCormack appeared to force extra-time.
But when it counted, Fermanagh punished Westmeath's shortcomings at the back with Woods gifted a injury-time point and a deserved win for Peter Canavan's charges.
WESTMEATH: Gary Connaughton; Mark McCallon, Kieran Gavin, Kevin Maguire; John Gaffey, Paul Sharry, James Dolan; David Duffy, John Heslin (1-05, 1-00 pen, 0-04f); Kieran Martin, Callum McCormack (0-03, 0-01 '45'), Denis Corroon (0-03); Ger Egan (0-02), Lorcan Smyth, Denis Glennon (0-02).
Subs used: Dessie Dolan for Smyth (45 mins), Ciaran Curley for Duffy (67).
FERMANAGH: Chris Snow; John Woods (0-01), Brian Cox, Damian Kelly (1-01); Declan McCusker, Ryan McCluskey, Marty O’Brien; Eoin Donnelly, Martin McGrath; Conor Quigley (1-00), Shane McCabe, Ryan Jones (1-00); Tomás Corrigan (0-02), Seán Quigley (0-06, 0-04f), Tommy McElroy.
Subs used: Ruairí Corrigan for C Quigley (half-time), Daniel Kille for R Corrigan (54 mins), Barry Owens for McGrath, Paul Ward for T Corrigan (both 66), Shane Lyons for O'Brien (67), O’Brien for Lyons (70).
Referee: Rory Hickey (Clare)
Highlights and analysis of all the weekend’s action on The Sunday Game from 21:00 on Sunday 30 June on RTÉ Two and RTÉ.ie (Ireland only). Expert and fan reaction on Take Your Point from 18:00 on Sunday 30 June on RTÉ Radio 1 and RTÉ.ie (Worldwide).