Barry Town United beat Connah's Quay Nomads 2-1 to make it back-to-back wins in the Cymru Premier.
Ollie Hulbert was the hero for Steve Jenkins' men with two second-half goals at Cae-y-Castell in Flint, where the Nomads are currently groundsharing.
Rhys Schwank was handed his first start for the club with Sam Snaith working his way into the starting XI, after scoring in last weekend's home win over Flint.
But after half-an-hour, goalkeeper Luke Masarani was called off the bench to make his Barry debut as a substitute for the injured Liam Armstrong.
The Nomads, who've endured a mixed start to the league season, went ahead five minutes before the break when Fumpa Mwandwe teed up the ball for Jack Kenny, who finished with a low drive.
Mikey George nearly replied for Barry with an audacious volley that went wide, but on 54 minutes, sub Elliot Richards set up Hulbert to finish from a tight angle past keeper George Ratcliffe.
Barry went onto enjoy the lion's share of chances in the latter stages - with Snaith thwarted by an important block from Kai Edwards and Ratcliffe making a superb save to block out Josh Yorwerth's header.
But in the 90th minute, Hulbert intercepted a back pass from Noah Edwards, and while his initial effort was saved, he struck from the rebound into the bottom corner to grab all three points on Deeside.
Barry climb above Connah's Quay into seventh in the table - with only goal difference separating them from a place in the top six.
Next up sees Barry return north to face reigning champions and UEFA Conference qualifiers The New Saints at Park Hall on Saturday (2.30pm ko).
JD Cymru Premier results
Aberystwyth Town 0-2 Flint Town United
Bala Town 0-1 Cardiff Met
Connah's Quay Nomads 1-2 Barry Town United
Haverfordwest County 0-1 The New Saints
Newtown 1-0 Briton Ferry Llansawel
Penybont 2-0 Caernarfon Town

Barry visit Rhyl in Welsh Cup quarter finals
Bombers fightback for bonus point
Barry Ladies out of Adran Trophy
Barry reach Welsh Cup quarter finals
Llantwit-Celtic clash postponed again
Barry draw in Penybont derby
Barry cruise into Nathaniel MG Cup final
Penarth win Arms Park cup clash
Bombers left waiting for game time
Barry Ladies draw at TNS
Llantwit draw with Bluebirds
Barry prepare for cup showdown
Vale duo prepare for Challenge Cup opener
Barry and Llantwit up for league awards
Barry Town unveils new club strategy
Two out of two for Ingle
Rugby community rallies after Penarth fire