LEADERS York snatched a dramatic victory in a high-scoring Solly Sports Yorkshire ECB County Premier Cricket League clash at Sheffield Collegiate.
The Abbeydale hosts looked on course for a comfortable run chase until a collapse saw them lose their last five wickets for only 19 runs, after William Root had got his side into a winning position.
The visitors chose to bat first but lost Simon Lambert inside the first ten overs, making just five before chipping a catch to Danny Walton at mid off, Root the bowler.
Liam McKendry made 16 and advanced the total to 66 but then hit Matt Lee straight to Jacob Waterson at deep mid-wicket in the spinner's first over.
Travis Ilka peppered the boundary with a series of cover drives on his way to a maiden half-century off 76 balls, but he was run out when both he and Ryan McKendry were stranded mid-pitch.
McKendry went on to forge a 54-run partnership with Alex Collins for the fourth wicket, in doing so reaching his 50 from 68 balls. He was bowled by Matt Dixon with the total on 159 and 15 overs remaining.
Nick Kay produced his third half-century of the season, but neither of the others matched this one for intensity, five fours and two sixes seeing him race to 50 from just 33 balls.
His efforts propelled the total to 242 as he and Collins added 83 in 58 balls before Kay was caught at point off Luke Shutt.
A crucial 15 runs came from the final over, giving the visitors a final total of 273-7.
Alex Collins was unbeaten on 63, from 78 balls with two sixes and six fours.
Despite early wickets for York, Sam Webber (55) and Root (70) shared a partnership of 101 during which they threatened to take the game away from the visitors.
They reduced the target to 74 from 15 overs, but a late flurry of wickets ensured they finished 20 short.