Sussex 167 for 5 (Nash 43, Jayawardene 43, Smith 3-23) beat Gloucestershire 161 for 9 (Marshall 45, Mills 3-30) by six runs

Tymal Mills grabbed his best T20 figures of 3 for 30 to help Sussex hold off a late charge by Gloucestershire for a narrow win at Hove.

It was Sussex's first victory of this season's competition, following their opening night defeat at Kent on Friday, but they were made to sweat near the end when Jack Taylor and Tom Smith took 32 runs from the 17th and 18th overs to bring the equation down from 51 required off four overs to just 19 off two.

But seamer Ollie Robinson held his nerve with a fine 19th over, in which he had Smith caught in the deep for 16 and conceded only four runs. Fifteen were now needed from the last over and fast bowler Mills, called up to bowl it, fired a thunderbolt through Taylor's desperate swing with his first ball and clipped the leg bail.

Taylor had hit two sixes and three fours in 36 from 20 balls, but it was not quite enough to pull the game out of the hat for Gloucestershire, whose last pair of David Payne and Matt Taylor could only take eight runs from the final five balls of Mills's over.

Gloucestershire lost Chris Dent to the first ball of their reply, leg-before to Steve Magoffin, and the same bowler had Ian Cockbain caught at mid-on, from a mistimed pull, in his second over. Hamish Marshall did his best to resuscitate the innings from 8 for 2 with nine fours in a breezy 45 off 26 balls, but the Sussex bowlers worked their way steadily through the Gloucestershire batting with legspinner Will Beer impressing with 2 for 26 from his four overs.

Mills bowled James Fuller in his first over and later castled Geraint Jones for a spirited 25. Mike Yardy also took out Peter Handscomb's middle stump and at 117 for 7 Gloucestershire looked out of it, but Taylor drove Robinson over the long-off boundary and Magoffin straight for another six. Smith also flicked Magoffin over midwicket for six as 19 runs came from the 18th over. Sussex, however, regained control of things just in time.

Earlier, Sussex were given a decent start by Chris Nash and Mahela Jayawardene, who both scored quickfire 43s, but their later batting could not build on it. Luke Wright uppercut James Fuller to third man in the second over before Nash and Jayawardene added 81 in nine overs to set up Sussex for what should have been a challenging total.

That they did not get it was largely down to Smith, with the slow left-arm spinner taking 3 for 23 against his former county, including a spell of three wickets for six runs in 10 balls. Jayawardene and Craig Cachopa were bowled through attempted slog sweeps and Nash well held by Marshall diving forward at deep square leg from another sweep that the batsman did not hit properly.

Nash pulled David Payne's left arm seam for six and picked up a good length ball from Matt Taylor for another six either side of taking fours from the same bowler, while Jayawardene lofted Smith over cover for six from the last ball of the batting Powerplay.

Jayawardene also hit six fours in his 30-ball knock while Nash batted 33 balls and departing two balls after he had called for Wright to come out to act as his runner, due to a leg muscle strain.

Cachopa had struck Jack Taylor's offspin for two successive sixes and made it a third six in three balls, with a further maximum off Smith, before missing another violent stroke at the next ball.

Ben Brown could only make 8 from 11 balls before being deceived and bowled by Payne's slower ball in the 17th over but at least Beer pulled sixes off both Fuller and Payne as he as Matt Machan added 37 in the final few overs to give Sussex something to defend - and, in the end, just enough to see off Gloucestershire.