Sussex secured their second Championship win of the season after an inspired performance by their bowlers on the final day against Surrey at Horsham.
Monty Panesar led the way with three wickets, as Surrey were finally dismissed for 248 with six overs remaining and Sussex knocked off their victory target of 22 from just 11 balls to complete a 10-wicket triumph.
Surrey skipper Rory Hamilton-Brown defied the pain of a sore hamstring to bat for over three hours before James Anyon plucked out his off stump for 47 - the highest score by a Surrey batsman in either innings.
He had added 32 with Jon Lewis for the ninth wicket which used up 14 overs and last man Jade Dernbach survived with him for another eight before Anyon made the decisive breakthrough.
Importantly with time a major issue, Panesar, who bowled 21 maidens in his 33 overs, and Anyon and Magoffin maintained control before Surrey's resistance ended.
Openers Ed Joyce and Chris Nash took little time in knocking off their target. Joyce hit three boundaries and pulled Lewis out of the ground for six to clinch victory.
Luke Wells led a spectacular lower-order revival as Sussex claimed a first-innings lead of 227 over Surrey on day three at Horsham.
On 90-6 overnight, Wells' 127 and solid contributions from the bottom four Naved Arif (34), Steve Magoffin (34), James Anyon (64no) and Monty Panesar (31) saw Sussex up to 351 all out.
Wells, on 38 at the start of the day, advanced to his fifth first-class century and second of the season while sharing stands worth 85, 54 and 35 for the seventh, eighth and ninth wickets respectively.
He was finally ninth out, one of left-arm spinner Murali Kartik's 4-102 haul, but even then there was more punishment to come for Surrey's bowlers.
Number 11 Panesar hit four fours and a six and Anyon also found the boundary regularly during a last-wicket alliance of 80, which finally ended when Gareth Batty (1-53) had Panesar caught by Jade Dernbach.
Surrey reached the close on 39-1 in their second innings, still 188 runs behind.
Stuart Meaker led a Surrey fightback with three wickets during the two brief spells of play possible on the second day of the County Championship match against Sussex at Horsham.
Surrey, who had been bowled out for 124 the previoys day, took 4-9 in the six overs that were possible to reduce Sussex to 90-6 in reply before rain washed out play.
Meaker struck with the first ball of the day when Sussex skipper Mike Yardy could only fend a well-directed bouncer into the hands of Mark Ramprakash at gully and then ripped out Joe Gatting off-stump in the next over before a shower forced the players off after just 2.2 overs.
They returned 40 minutes later when Surrey took two more wickets to further undermine Sussex's middle order. Left-arm spinner Murali Kartik got in on the act by dismissing Luke Wright caught behind for one as he pushed forward to a ball which turned.
But it was Meaker's morning and he had reduced Sussex to 87-6 when he pinned Ben Brown lbw with an inswinger, and had figures of 3-3 from three overs when the rain returned, leaving Luke Wells unbeaten on 38 and Naveed Arif Gondal yet to score.
With rain setting in during the afternoon, umpires Peter Willey and Neil Hartley called off play at 2.30pm, although with the game well advanced and a better forecast there is still every chance of a positive result with two days to go.
James Anyon and Steve Magoffin ripped through Surrey to help put Sussex in early control of the County Championship clash at Horsham.
Sussex's decision to bowl first after winning the toss proved a wise one as they bowled their Division One rivals out for just 124 in 40.2 overs.
Australian Magoffin - who is due to return home after the fixture, though talks are on-going with Queensland about him extending his stay - bowled unchanged through the morning session, taking 4-27.
His skilful burst left Surrey reeling at 52-6, the recalled Mark Ramprakash managing to make just eight as part of his county's fourth different opening partnership of the season.
Wicketkeeper Steven Davies - who has also been used at the top of the order this summer - contributed six before heading off to join up with the England squad at Edbgaston as cover for Matt Prior.
Anyon was not to be out-done by his new-ball partner though, dismissing Jade Dernbach to wrap up the innings and finish with figures of 4-63.
Sussex lost Ed Joyce right at start of their reply but Chris Nash (38) and Luke Wells - who reached the close on 33 not out - helped them recover to 81-2, meaning they trail by just 43.