Somerset 184 (Wood 3-24, Rushworth 3-47) and 180 (Davies 49, van der Merwe 47, Onions 4-50) beat Durham 189 (Hickey 36*, van der Merwe 4-59) and 136 (Stoneman 57, van der Merwe 4-45, Leach 4-56) by 39 runs
Somerset closed off a remarkable victory on the third morning of their Specsavers' County Championship game with Durham at Taunton.
Defending a target of 176 and with Durham 130 for 5 overnight, they took the visitors' last five wickets for just six runs in 22 balls, to win by 39 runs.
It was a truly intriguing 17 minutes of play during which Somerset used the spinning Taunton wicket to devastating effect. Jack Leach, who took five first innings wickets and Roelof van der Merwe were the instigators taking three and two wickets respectively.
Nightwatchman Graham Onions fell to Leach for 0, off the fifth ball of the day and off the left arm spinners' very next delivery, Paul Coughlin was caught by Jim Allenby at slip.
Stuart Poynter, who struck the only boundary of the morning, was eighth man out, lbw to Leach for 12, before van der Merwe dismissed Mark Wood and Chris Rushworth in successive balls to finish the job. Leach finished with figures of 4 for 46 and van der Merwe 4 for 45.
"I probably didn't see that happening overnight," Chris Rogers, the Somerset captain, said. "I thought we were in with an outside chance because the ball is turning and they had their tail end in. But it all went to plan.
"We beat the bat a lot yesterday evening, but today it all went our way and when that happens, it's quite fortunate.
"To finish it that way is fantastic. All credit to the guys too, we were down and out on a couple of occasions in this game.
"But they fought and what was really nice was that a couple of people who probably havent contributed as much as they would have liked to so far this season, were the ones who stood up and that is such a good sign for the club."
Durham coach Jon Lewis said: "It unfolded pretty quickly towards the end didn't it? But then again, it was like that for much of the game. I mean we are finished 20 minutes into day three. "I don't think this morning was the relevant part of the game. We got some good balls this morning and that can happen on a turning pitch.
"I think there are areas of the game that we could have been better in, over the first two days. But the players will lick their wounds and get back to it."