Stranraer emerged winners in a pulsating Scottish Cup clash which saw the away side reduced to nine men.
Kieran McAnespie hooked Alloa in front but Stranraer's David Hamilton lobbed effort levelled the match.
David McClune was red-carded for aiming a kick at Scott Wilson before Paul McMullan shot Stranraer in front.
McAnespie struck again only for Stuart Malcolm to receive a second yellow card and Scott Wilson headed home before Steve Nicholas added a late drive.
Stranraer: Black, McGroaty, Sharp, Snowdon, Wilson, Crilly, Aitken (Hunter 86), Hamilton, Wright, Burns (Moore 53), McMullan. Subs Not Used: Nicholas, Ramsay, Morrison.
Booked: Aitken, Wilson. Goals: Hamilton 40, McMullan 59, Wilson 79, Nicholas 82.
Alloa Athletic: Creer, Clark, Ovenstone, Malcolm, McClune, McColligan, Grant, Sloan, Brown, Payo (Young 76), McAnespie. Subs Not Used: Hamilton, Comrie, Stuart, O'Boyle.
Sent Off: McClune (44), Malcolm (75). Booked: Malcolm. Goals: McAnespie 8, 71.
Ref: E Norris