Cavan chalked up their first win in this year's Football League Division 2 with a battling second-half display in a thrilling local derby duel at Kingspan Breffni Park on Saturday.
The Ulstermen played second fiddle in the first half and were 0-3 to 0-8 adrift at the break.
However, they ignited a sterling fightback with an unanswered five-point tally at the start of the second half and sealed an unlikely victory when sub Christopher Conroy's fisted effort was deflected into the Westmeath net in the 72nd minute.
The visitors enjoyed a numerical advantage from the 25th minute to the 66th minute - when corner-back Paddy Meade received a straight red card for an off-the-ball tackle, but they couldn't make that advantage count as Cavan's collective strength proved decisive with 13 of their number getting on the scoresheet.
Westmeath had led their hosts a merry dance in the opening quarter and were full value for their 0-6 to 0-1 lead after 18 minutes.
And things went from bad to worse for the home side when Meade was handed his marching orders.
But Cavan were a transformed outfit on the restart and half-time subs Thomas Galligan and Stephen Murray both pointed as they levelled matters, 0-8 apiece, after 42 minutes.
Westmeath hit back with interest though with Loughlin goaling in the 42nd minute with his first touch of the ball at the end of Westmeath's first attack of the second half.
John Heslin was red carded towards the end to leave Cavan in the box seat, and the finishing score came two minutes into injury-time when Conroy goaled.
Scorers - Cavan: C Brady 0-4; C Conroy 1-0; T Galligan, R Galligan (2'45s) 0-2 each; O Pierson (f), K Brady, J Smith, S Murray, P Faulkner, E Doughty, G McKiernan, O Kiernan, R Connolly 0-1 each. Westmeath: L Loughlin 1-3; J Heslin (4f) 0-4; R Connellan 0-2; R O'Toole, C McCormack, J Smith, L Dolan 0-1 each.
Cavan - R Galligan 8; P Meade 4, P Faulkner 7, K Brady 6; G Smith 6, C Brady 9, O Kiernan 8; B Kelly 5, G McKiernan 6; S Smith 5, M Reilly 6, E Doughty 6; O Pierson 6, B Magee 6, J Smith 6. Subs: T Galligan 7 for B Kelly (h-t); S Murray 6 for S Smith (h-t); L Fortune 5 for J Smith (50); R Connolly 5 for B Magee (66); C Conroy 6 for P Faulkner (68).
Westmeath - E Carberry 7; J Smith 7, R Wallace 6, B Sayeh 6; P Holloway 5, K Maguire 6, J Dolan 6; D Corroon 7, R Connellan 8; A McGivney 6, R O'Toole 6, D Lynch 6; C McCormack 7, J Heslin 6, L Dolan 5. Subs: L Loughlin 8 for L Dolan (42); N Mulligan 5 for P Holloway (50); J Halligan 5 for C McCormack (65).
Ref - S Laverty (Antrim).