Bryan Prunty was the hero for Dumbarton as he netted with less than a minute of normal time remaining to earn his side a draw with Raith Rovers.
The home side went ahead when Greig Spence played in Brian Graham to steer home with his left foot on 23 minutes with Spence himself going close to doubling the lead before the break.
However, bottom side Dumbarton, who had just a single point to their name coming into the fixture, levelled on 52 minutes when James Lister netted from close range.
Rovers went back in front on 69 minutes when an outswinging corner from Allan Walker was flicked on by Simon Mensing and headed home by Spence for 2-1.
But the visitors kept on battling and were rewarded when Prunty bundled the ball home from close range in the 90th minute to secure a point for Alan Adamson's side.
Raith: McGurn, Thomson, Mensing, Hill, Malowne, Grant Anderson, Stuart Anderson, Walker, Smith, Brian Graham, Greig Spence.Subs Not Used: Laidlaw, Hamill, Callachan, Vaughan, Ellis.
Booked: Hill, Grant Anderson, Brian Graham.
Goals: Brian Graham 23, Greig Spence 69.
Dumbarton: Ewings, Andy Graham, Lithgow, McNiff (Prunty 79), Forsyth, Johnston, Turner, Agnew, Lamont (Gilhaney 71), Flening, Lister.Subs Not Used: Grindlay, Creaney, Lyden.
Goals: Lister 52, Prunty 90.
Ref: Mike Tumilty