Marcus Trescothick added to his first innings century with another ton to lead Somerset to a 10-wicket victory over Yorkshire on day four at Taunton.
Trescothick and Arul Suppiah put together their second double-century opening stand of the match to overhaul the Tykes second innings lead of 227.
After resuming on 249-6 the visitors battled hard to extend their second-innings score to 321 all out.
Jonny Bairstow was unable to add to his overnight score of 80 before he was caught behind off the third ball of the morning from Charl Willoughby.
Adil Rashid went on to make an unbeaten 51 and he and Ajmal Shahzad added 35 runs for the eighth wicket but the latter was run out with a direct hit by 18-year-old all-rounder Jake Lintott.
Ryan Sidebottom followed soon after but Rashid and Oliver Hannon-Dalby made a stubborn last-wicket stand of 25 to hold up the home side further.
Trescothick made run the chase look effortless as he reached an unbeaten 151 from 131 balls, including 21 fours and two sixes, while Suppiah's 67 not out came from 112 balls.
Yorkshire launched a spirited fightback on the third day of their County Championship Division One clash against Somerset at Taunton.
Jonny Bairstow followed up his first innings 136 with an unbeaten 80 as the Tykes pushed on to 249-6 and a lead of 144 with four wickets remaining at stumps.
Somerset resumed on 389 for six in their first innings after a rain delayed start and were able to add 126 to finish with a first innings lead of 94 at 452 all out.
James Hildreth made 87 before he was the last man out, caught behind off Adil Rashid.
Adam Lyth made 14 before he became the first Yorkshire wicket to fall and Anthony McGrath had managed just four when he was trapped lbw by Steve Kirby.
But skipper Andrew Gale steadied things with a composed 50 before he fell in the 30th over to Peter Trego.
Joe Root (67) shared a century stand for the fourth wicket with Bairstow until he was bowled by Lewis Gregory.
Gary Balance was caught off Arul Suppiah for 14 and Suppiah struck again three balls later to remove Steven Patterson for a duck leaving Bairstow and Rashid (nought not out) at the crease at stumps.
Marcus Trescothick's third LV County Championship century of the season powered Somerset into a first-innings lead on day two against Yorkshire at Taunton.
The former England left-hander hit 189 before becoming Ryan Sidebottom's (2-51) 500th first-class victim in the evening session before Somerset closed on 389-6, a lead of 31.
Resuming at 7-0, Arul Suppiah extended his opening partnership with Trescothick to 257, an alliance that lasted deep into the afternoon session.
Trescothick survived a tough caught-and-bowled chance to Oliver Hannon-Dalby (0-77) on 98 before bringing up three figures from 146 balls with 10 fours and six.
But Suppiah, having been dropped on nine and 68 on the way to his highest score of the season, was denied a hundred of his own, holing out to Steven Patterson at midwicket off Tykes leg-spinner Adil Rashid (2-95) for 95.
Seamer Ajmal Shahzad (1-85) removed Nick Compton (4) before tea and Yorkshire hit back in the final session of the day, claiming four more wickets, including the big one of Trescothick, who was held by Adam Lyth at first slip having faced 257 deliveries and hit 17 fours and four sixes.
Jonny Bairstow stroked a boundary-laden century but Yorkshire were still bowled out for 358 on day one of their trip to Somerset.
Bairstow hit 136 and shared stands of 63 with Andrew Gale (30) and 167 alongside Gary Ballance (61) after the Tykes, who opted to bat first, had been reduced to 75-3 before lunch.
Somerset, again reliant on an all-seam attack, claimed only the wicket of Gale during the afternoon session as Bairstow found the fence at will on the way to his second first-class hundred.
The 21-year-old dispatched 25 fours during his 136 from 169 balls before being bowled by Charl Willoughby, the catalyst for a collapse from 305-4.
Seamers Willoughby (3-90), Steve Kirby (3-54) and Gemaal Hussain (3-87) each picked up three wickets for Somerset, who reached the close at 7-0 in reply.