Sussex kept alive their slim hopes of qualifying for the quarter-finals of the NatWest T20 Blast with a five -wicket victory over Glamorgan at Hove.
Will Beer took career-best figures of 3-14 as the Sharks restricted Glamorgan to 151-8 despite Jim Allenby top scoring with 62.
Luke Wright then smashed 66 from just 39 balls to put Sussex on course for their fifth win in the competition which was wrapped with nine balls to spare.
The result lifted to sixth place in the south division, two points behind Surrey in fourth spot but having played a game more.
Even if they win their final two matches against Essex and Hampshire the Sharks would still need other results to go their way to sneak into the top four.
The Australian was unable to prevent Glamorgan getting off to a flying start as Jacques Rudolph and Jim Allenby took the score to 57-0 after the six over powerplay.
The introduction of Beer and Steff Piolet halted Glamorgan’s momentum just as it had against Kent last Friday night.
Beer bowled Allenby off an inside edge for 24 with his third ball and then cleaned up Mark Wallace as he attempted a reverse sweep in his next over.
Piolet deceived the dangerous Chris Cooke with a slower ball he toe-ended to square leg and then Beer took a diving return catch to remove Stewart Walters.
Murray Goodwin was given a warm welcome by a decent crowd on his first return to Hove since being released two years ago and set about rebuilding the Glamorgan innings along with Rudolph.
Together they added 50 for the fifth wicket from just 28 balls before Goodwin drove Chris Liddle to Matt Machan at long on having scored 35 from 24 deliveries.
Magoffin yorked Rudolph for an excellent 62 – from 50 balls - in the next over and Lewis Hatchett picked up the wickets of Ben Wright and Andrew Salter as Glamorgan closed on 151-8.
That was only two more than Kent had posted last Friday night on the same wicket when Sussex lost by three runs.
Sussex’s reply did not get off to the best of starts as they lost early wickets again. Chris Nash edged Will Owen behind having made 11 and Luke Wells lasted just four balls before giving Michael Hogan a simple return catch.
Craig Cachopa smacked Dean Cosker for a huge six and then hit three consecutive fours off Owen in an entertaining 14-ball 24 before being stumped off Cosker.
Wright made the most of being dropped by Goodwin in the first over when he had made just one to make his third half century of the season.
He brought it up in style by driving Rudolph for four before hitting the next three balls for six, four and four to put Sussex in the driving seat.
The England all-rounder was out in the next over as he hit Andrew Salter to Cosker at midwicket who grabbed the catch at the second attempt.
Sussex also lost Ben Brown but an unbeaten 33 from 35 balls from Matt Machan saw them ease to victory in the penultimate over.