Division Two side Brechin had to come from two-goals down to draw 2-2 with Bonnyrigg Rose in the William Hill Scottish Cup third round.
The visitors 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.
Bonnyrigg 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.
But Brechin 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, but Bonnyrigg held on for a replay.