Berkhamsted fought back from 2-0 down to notch their fourth win over Sun Sports this season and advance to the semi-finals of the Premier Division Cup.
The Comrades had to work hard for their victory, coming back from two goals down at half-time to win the game with a strike from substitute Ashley Morrissey in extra-time.
Berko boss Mick Vipond was relieved to be able to recall Carl Tasker in goal, with Frankie Jowle moving to right wing and BJ Christie returning to the bench after a facial injury that has kept him out for a couple of months.
Ashley Lewis can feel rightly sorry for himself after ending up on the losing side despite scoring two stunning first half goals for Sun.
Firstly, he capitalised on a free-kick conceded by Ed Canham and beat the wall and Tasker all ends up from 20 yards out in the 10th minute.
Midway through the half, he scored again with a wonderful volley, and in between the goals Sun keeper Ross Hampton saved well from a Jamie Gavin header.
Berko brought on James Baldry at half-time for Steve Hawes, and Lewis Rodrigoe scored his first goal of the season to put the Comrades back in the match around the hour mark with a shot that sailed over Hampton.
The equaliser soon followed when Baldry was bundled over in the box and Josh Chamberlain slotted the resulting spot kick into the corner of the net to make it 2-2.
In the first half of extra-time, Sun’s Chris Lynskey hit the post, but it was Morrissey who won the game for Berko when he beat a couple of defenders and slotted home.
Berko will be at home in the semi-finals to either Holmer Green or Cockfosters who meet next month.
The Comrades are also waiting to hear whether it will be Hemel Town or Watford at home in the semi-final of the Herts Senior Cup.