City of Armagh won the Ulster Senior Cup for the first time in their history by coming from behind to beat Ballymena 17-13 in the final at Kingspan Stadium.
Callum Patterson and Cormac Fox traded penalties to leave the score 3-3 at half-time, then Patterson converted his own try, driving over from close range.
Patterson added a penalty, before Andrew Smyth went over from a driving maul, Fox converting to make it 13-10.
A try from replacement Thomas Campbell, converted by Fox, gave Armagh victory.
On 17 minutes Ballymena were awarded a penalty 41m out but Bailie failed with the effort at the posts.
Two minutes later, from a metre closer, he opened the scoring at 3-0, but it was Armagh who finished the first half stronger.
The first-time finalists went into the second half a man down, lock Robert Whitten having been sin-binned at the end of the first half.
The Braidmen led 13-3 by the hour mark but with Adrian Hamilton subsequently being yellow-carded, Smyth rumbled over for a try, Fox adding the additional two points.
Nine minutes from time scrum-half Campbell showed great enterprise to nip in for a try, which Fox impressively converted from the touchline.