Hawick Linden gained a bonus point win at Wilton Lodge Park, a venue where they have often come unstuck against local rivals Quins in the past.
The home side were straight on the scoreboard with an Adam Hall penalty kick in the second minute, while Kirk Ford levelled the scores in similar fashion following hands in the ruck.
The first try came after a thumping hit by Greg Thomson when chasing a high kick. This set the platform for the Linden to camp on the Quins line and the forwards eventually surged their way over, with the biggest surprise being winger Sean Potts emerging from the pile of bodies to claim the touchdown.
Potts then showed his pace on the outside, racing into the 22 before feeding to the supporting Conor Gracie, who sold a glorious dummy to storm under the posts. Ford converted both tries.
Graham Colville scored the easiest of tries when he picked up from a penalty scrum to stroll over and with Ford‘s conversion, Linden looked in command at 24-3 with only 28 minutes played.
With the Royal Blues seeming to think the hard work was done, Quins took control of possession, and regular offences from Linden ultimately ended with Hall slotting his second penalty.
Just before the break, a clearance kick was charged down and the hosts shipped the ball wide for Hall to benefit from the overlap and race over, closing the gap to 11-24.
Linden missed a couple of penalty kicks early in the second period, so took to running a number of similar awards, which eventually paid off when Kirk Ford shot through a gap to touch down.
The Quins were rewarded for a period of pressure when Dale Johnstone powered to the line and stretched out to score, with Hall converting, but Linden had the final word when Ford put over his second penalty kick to complete a personal haul of 17 points.