Stranraer U20s will play Motherwell at home in the Youth Cup 4th Round after knocking out Queen of the South.
Headed goals from Anderson and Bell and an opportunistic late third from Wallace gave the Blues a comfortable win at Stair Park.
A controversial second half at Somerset Park saw Stranraer end with just nine players on the field, as goals from Moffat and Shankland sealed the win for Ayr.
Stranraer U20s moved up to 2nd in SPFL Development League West with a 6th win in 7 league games against leaders Airdrieonians.
Stranraer's match with Raith Rovers was abandoned due to a waterlogged pitch with the score at 1-1.
Stranraer U20s moved up to 4th in SPFL Development League West with an impressive win over Championship side Greenock Morton.