A late Ethan Davies conversion secured a win for Bedwas over Cardiff at the Arms Park on Saturday morning.
In a see-saw encounter, Sam Feehan's late score proved decisive as he powered over from a passive scrum with Davies kicking the extra two for a 23-25 victory.
Both sides started at a terrific pace but it was Cardiff who drew first blood via a Joe Griffin penalty after 12 minutes. Davies soon levelled things up with a penalty of his own before Bedwas stormed in front. Lewis Robling broke down the right and a good run by Lewis Hudd saw him cross in the corner with Davies adding the conversion with aplomb.
Cardiff were not going to be denied for long though and when Bedwas failed to claim the restart, a break by Darren Ryan saw the ball recycled by Griffin who put left winger Shaun Powell in for an unconverted try.
Davies then added a second Bedwas penalty to see his side 13-8 ahead at the break.
Cardiff's Griffin was sin binned early in the second half for a ruck offence and kicking duties were taken on by Ryan who successfully landed a penalty opportunity to reduce the arrears to two points.
Bedwas extended their lead after 49 minutes courtesy of a piece of more Davies magic. With Cardiff expecting a penalty goal attempt from the edge of their 22, Davies caught them cold with a quick tap before diving over for a try though he was unsuccessful with his conversion.
Once again Cardiff fought hard to get back into the game and they gained a try when Stuart Thomas was caught in his in goal area by Griffin who squeezed in for a try. The home side continued to pile on the pressure and seized upon Bedwas mistakes before right wing Jack Phillips crossed out wide. Griffin expertly converted for a 23-18 advantage with 10 minutes left.
Bedwas refused to lie down though and spurred on by fresh legs in the pack, they put the home side under pressure.
With the clock ticking down Bedwas won a scrum 20 metres from the Cardiff line. Feehan picked the ball up from the base of the scrum and ran hard before stretching out to touch down and level the scores.
And when the ice-cool Davies stepped up, the conversion was never in doubt.
Beating Merthyr has boosted Carmarthen Quins hopes of reaching a top eight spot in the Principality Premiership. Quins captain Haydn Pugh is delighted with his team's progress and is determined that everyone from the Under 6s through to the senior team, enjoys the ride.
When the Wales squad were asked to nominate individuals who played a big part in their early playing days, Wales and Dragons full back and wing Hallam Amos thought of his former Monmouth School rugby coach John Bevan.
Sam Cross and Luke Treharne have been named as co-captains of the Wales Sevens side as head coach Gareth Williams names his 12-man squad to play in the first leg of the HSBC World Series in Dubai next weekend.
Bedwas head coach Steve Law and players Nicky Griffiths and Alun Rees extol the virtues of the close knit club as they prepare to host third place RGC 1404 - who are one place head of them on the Principality Premiership points table - on Saturday.
Many of the Wales squad have said Diolch (thank you) to someone who played an important part in their early playing days by nominating them to be invited to the Wales v South Africa match. One person, Gowerton Comprehensive geography teacher Mr Dean Mason was nominated by two of his former pupils, Dan Biggar and Sam Davies.
The second WRU disability rugby pilot has been delivered, this time in Caerphilly schools, culminating in a festival at the Caerphilly Centre of Sporting Excellence, Ystrad Mynach tomorrow. Plans are in place to set up a Disability Rugby Club in Newbridge to provide long-term playing opportunities.
WRU TV: Hear from inside the Wales camp as Neil Jenkins discusses this weekend's clash with South Africa and how the squad are looking to put in a strong performance to round of the 2016 Under Armour Series