Scott Agnew smashed in a 30-yard free-kick a minute from time to ensure 10-man Dumbarton drew with Brechin.
Agnew also scored the opener in the 11th minute and crossed to James Lyden to head their second before half-time.
But Brechin grabbed three goals and Dumbarton's Alan Lithgow was sent off within the first nine minutes of the second half.
A smash from Gary Fusco, a Paul McManus penalty, and David McKenna put Brechin in front before Agnew snatched a draw.
Brechin: Nelson, McLean, Dunlop, McLauchlan, Buist (McClune 46), Janczyk, King (Fusco 34), Molloy, Carcary, McManus (Weir 72), McKenna. Subs Not Used: Scott, Brady.
Goals: Fusco 47, McManus 52 pen, McKenna 56.
Dumbarton: Ewings, Lyden, Lithgow, McNiff, Creaney, Gilhaney, McBride (Brannan 73), Nicoll, Agnew, Prunty (Nugent 54), Walker (Winters 81). Subs Not Used: Meldum, Metcalf.
Sent Off: Lithgow (51).
Goals: Agnew 11,Lyden 28,Agnew 89.
Ref: Des Roache