Bury had to settle for the League Two play-off spot despite a 1-0 win over Accrington.
Inferior goal difference denies Bury automatic promotion
Bury will have to settle for the League Two play-offs after missing out on automatic promotion by just one goal despite a 1-0 win over Accrington.
A stoppage-time penalty by substitute Phil Jevons was enough to take the Shakers level with Wycombe, who surprisingly lost at home to Notts County.
But Alan Knill's men were unable to grab the second goal they needed to take them above the Chairboys and will continue their promotion bid against Shrewsbury in the play-offs.
Stanley should have taken the lead in the 58th minute when substitute Chris Turner won a penalty from virtually his first touch.
Brown appeared to get something on the ball as he dived at Turner's feet, although Peter Cavanagh fired the spot-kick against the top of the crossbar.
That gave Bury a boost but Jevons missed a gilt-edged chance with 20 minutes left, firing wide from a knock-down by fellow sub Andy Morrell. Andrew Procter was sent off for handball in stoppage time and although Jevons slotted home the spot-kick, time ran out for the Shakers.