Peter Trego hit his second half-century of the match to save Somerset from defeat on the final day of an absorbing County Championship match with Sussex at Taunton.

Chasing an unrealistic 425 to win, the hosts crashed from 69 without loss to 84-5, leg-spinner Luke Wells and slow left-armer Ashar Zaidi sharing the wickets, after a solid opening partnership between Marcus Trescothick (33) and Tom Abell (36).

Sussex had a further 42 overs in which to take the remaining wickets, but were frustrated by Trego (95 not out) and Lewis Gregory (32), who produced a stubborn stand of 120 as Somerset moved to 208-6 when the players shook hands on a draw. Trego had faced 141 balls and hit 15 fours.

Earlier in the day, the visitors had taken their second innings score from an overnight 311-2 to 490-4 before declaring. Matt Machan was dismissed for 192, while Chris Nash finished unbeaten on 142.

Luke Wright smashed Abdur Rehman for three sixes in an over during a 12-ball cameo that reaped 39 runs before skipper Ed Joyce declared nine balls after the lunch interval.

Somerset looked in little danger when Trescothick and Abell were together. But the introduction of Wells from the River End paid dividends immediately as Trecothick, on 33, was bowled leg stump trying to sweep his first delivery.

It was the first of five wickets in as many overs. Johann Myburgh was caught close in also trying to sweep Wells, while James Hildreth offered a simple caught and bowled chance to Zaidi off a low full toss.

Abell, who had looked in great form moving to 36, edged Wells to second slip as he pushed forward and Jim Allenby was also taken in the slips as he nicked an airy drive off Zaidi.

At tea Somerset were 88-5 and in deep trouble. At that stage, Wells had figures of 3-14 and Zaidi 2-4.

But the final session belonged to Trego and Gregory as Joyce switched his seamers and spinners around in a desperate bid for another breakthrough.

Trego played his normal positive game and reached his half-century off 83 balls, with nine fours. While Gregory offered sensible support with his best score of the season until falling in the penultimate over.

Somerset took ten points and Sussex nine from a match of fluctuating fortunes.