Ayr booked their place in the First Division play-off final against Airdrie or Peterhead with victory over Brechin.
Bryan Prunty headed United ahead after 15 minutes from a Chris Aitken corner.
Rory McAllister slid home an equaliser after 38 minutes and added a penalty five minutes after the break after Stephen Grindlay felled Darren Smith.
Kenny Connolly headed home a Martyn Campbell cross in the 70th minute before skipper Chris Aitken sealed the win with a superb 25-yard strike.
Ayr: Grindlay, Dempsie, Walker, Martin Campbell (Henderson 74), McGowan, Kenneth Connolly, Keenan (Woodburn 77), Aitken, Easton, Prunty, Roberts (Gormley 79). Subs Not Used: Mitchell, Borris.
Booked: Grindlay.
Goals: Prunty 15, Kenneth Connolly 70, Aitken 72.
Brechin: Craig Nelson, Walker, Seeley, Barry Smith, Dyer, Darren Smith, Fusco, Canning, Byers (Ettien 85), McAllister, King.
Subs Not Used: McCluskey.
Booked: Darren Smith, Canning, Byers, Fusco.
Goals: McAllister 38, 53 pen.
Agg (5-2)
Att: 1,974
Ref: C Allan
What are these?
Print Sponsor
Bookmark with:
What are these?