Bonnyrigg Rose were denied a shock win in the third round of the Scottish Cup as Brechin City came from two goals down to force a replay.
Junior football's East Superleague champions took a 21st-minute lead as Kevin McLeish's cross from the right was thumped into the top corner by Sean Grady from close range.
Rose could have gone two-goals up before the interval, but Alex King's close range effort went wide of the left-hand post.
The minnows got their second in the 58th minute as Kris Renton headed Grady's right-wing cross into the top corner from inside the six-yard box.
However, their Second Division opponents pulled one back just three minutes later as Andrew Jackson found the left corner from six yards out.
And the hosts equalised with 12 minutes left as David Dunn turned the ball into his own net from close range.
Bonnyrigg held on for a replay at their own New Dundas Park.
Sorry, we were unable to load match stats, please try again.
Live Text Commentary
Full Time The referee blows his whistle to end the game.90:00 +1:57
Inswinging corner taken by Derek Carcary from the right by-line, Kevin McLeish makes a clearance.90:00 +0:45
Shot from just outside the box by Andrew Jackson goes over the crossbar.89:36
Paul McLean gives away a free kick for an unfair challenge on Sean Grady.88:16
Andrew Jackson takes a shot. Brilliant save by Micheal Burgess.86:01 Substitution
Substitution (Brechin) makes a substitution, with Ryan Stewart coming on for Garry Brady.84:01
Foul by Ewan Moyes on Kris Renton, free kick awarded. Free kick taken by Kevin McLeish.83:03
Kevin McLeish takes a inswinging corner.82:45
Effort from just outside the area by Kevin McLeish goes over the bar.80:32
Alan Trouten takes a shot. Alan Trouten takes a inswinging corner. Inswinging corner taken from the left by-line by Alan Trouten.79:37
Unfair challenge on Liam McKenna by Paul McLean results in a free kick. Free kick taken by Stuart Roseburgh.77:49 Goal scored
Goal! - David Dunn - Brechin 2 - 2 Bonnyrigg Own goal by David Dunn. Brechin 2-2 Bonnyrigg Rose.77:08
Free kick awarded for a foul by David Burrell on Paul McLean. Direct free kick taken by Paul McLean.75:51
Paul McLean is caught offside. Indirect free kick taken by Micheal Burgess.75:14
Corner taken left-footed by Derek Carcary, clearance made by Ross Archibald.74:32
Corner taken by Derek Carcary, David Dunn makes a clearance.73:51
The assistant referee signals for offside against Kevin McLeish. Free kick taken by Craig Nelson.70:03
The offside flag is raised against Kurtis Byrne. Free kick taken by Micheal Burgess.65:10
Free kick awarded for a foul by Sean Grady on Paul McLean. Craig Nelson takes the free kick.63:14
Kurtis Byrne produces a right-footed shot from close range which goes wide of the left-hand post.
Substitution Jonathan Stewart comes on in place of Craig Molloy.60:39
Assist on the goal came from Graham Hay.60:39 Goal scored
Goal! - Andrew Jackson - Brechin 1 - 2 Bonnyrigg Andrew Jackson grabs a goal from inside the six-yard box to the top left corner of the goal. Brechin 1-2 Bonnyrigg Rose.57:34
The assist for the goal came from Sean Grady.57:34 Goal scored
Goal! - Kris Renton - Brechin 0 - 2 Bonnyrigg Kris Renton grabs a headed goal from close in. Brechin 0-2 Bonnyrigg Rose.56:32
Derek Carcary takes a outswinging corner to the near post, clearance by Alex King.55:55
Craig Molloy takes the direct free kick.55:55 Booking
Booking Stuart Roseburgh is given a yellow card.55:49
Alan Trouten fouled by Stuart Roseburgh, the ref awards a free kick.54:30 Substitution
Substitution Derek Carcary joins the action as a substitute, replacing David McKenna.53:56
Corner taken by David McKenna from the left by-line, Shaun Woodburn manages to make a clearance.49:07
Garry Brady concedes a free kick for a foul on Alex King. Direct free kick taken by Ross Archibald.47:30
Unfair challenge on Stuart Roseburgh by Alan Trouten results in a free kick. Stuart Roseburgh takes the direct free kick.47:00 Booking
Booking Alan Trouten booked.45:01
The second half kicks off.45:00 +0:03 Half time
Half Time The match has reached half-time.40:46
Direct free kick taken by Stuart Roseburgh.40:46 Booking
Booking Booking for Ewan Moyes.40:35
Ewan Moyes concedes a free kick for a foul on Kris Renton.38:42
Inswinging corner taken by Kevin McLeish from the left by-line.37:43
Close range effort by Alex King goes wide of the left-hand upright.36:54
Unfair challenge on Sean Grady by Craig Molloy results in a free kick. Free kick crossed right-footed by Kevin McLeish from left wing, clearance made by Ewan Moyes.35:34
The ball is sent over by Alan Trouten, clearance made by Kevin McLeish.34:28
The ball is crossed by David Dunn.33:34
Kevin McLeish takes a outswinging corner from the right by-line played to the near post, clearance by Ewan Moyes.32:19
Kris Renton takes a shot. Save made by Craig Nelson.31:30
Effort from the edge of the penalty box by Andrew Jackson goes wide of the right-hand upright.30:26
Kurtis Byrne is caught offside. David Dunn takes the direct free kick.30:07 Booking
Booking David Burrell receives a yellow card for dissent.27:18
Outswinging corner taken right-footed by Alan Trouten from the right by-line, clearance by Ross Archibald. The ball is swung over by Kurtis Byrne, save by Micheal Burgess.26:09
The offside flag is raised against Sean Grady. Paul McLean takes the direct free kick.24:06
Kris Renton sends in a cross, Paul McLean makes a clearance.23:16
Corner taken by Alan Trouten, clearance by David Burrell.20:21
Assist on the goal came from Kevin McLeish.20:21 Goal scored
Goal! - Sean Grady - Brechin 0 - 1 Bonnyrigg Sean Grady finds the back of the net with a goal from close in to the top left corner of the goal. Brechin 0-1 Bonnyrigg Rose.19:12
Effort from the edge of the area by Andrew Jackson goes wide of the right-hand upright.18:28
Free kick awarded for a foul by Alan Trouten on Stuart Roseburgh. Free kick crossed right-footed by Kevin McLeish, Ewan Moyes manages to make a clearance.13:17
Kevin McLeish takes a inswinging corner from the left by-line played to the near post, David Dunn concedes a free kick for a foul on Paul McLean. Craig Nelson restarts play with the free kick.11:04
The official flags Kurtis Byrne offside. Free kick taken by Micheal Burgess.7:03
Kurtis Byrne is caught offside. Micheal Burgess restarts play with the free kick.5:47
Paul McLean challenges Stuart Roseburgh unfairly and gives away a free kick. Kevin McLeish delivers the ball from the free kick right-footed from left wing, clearance by Ewan Moyes.4:20
The assistant referee flags for offside against Kurtis Byrne. Ross Archibald restarts play with the free kick.0:25
The assistant referee signals for offside against Kurtis Byrne. Shaun Woodburn takes the direct free kick.0:00
The match gets underway.
Live data and text provided by our data suppliers