Cymru North staged a dramatic second-half comeback to beat Cymru South 4-2 in the play-off second leg and book themselves a place in the UEFA Regions' Cup.
Cymru South skipper Aiden Lewis had put the home side in a convincing position in Briton Ferry with two goals either side of half time after a goalless draw in the first leg.
But Cymru North hit back with two goals in the space of 13 minutes through Liam Morris and Jamie Cumming.
Dylan Allshorn then put the away side ahead for the first time with 11 minutes left on the clock and Jake Cooke delivered the knockout blow late on to ensure his side will fly the flag for Cymru in the intermediate round stage of the UEFA competition later this year.
Lewis came close to breaking the deadlock for Cymru South inside the 15th minute when his well-struck volley forced a strong save out of goalkeeper Rob Dascalu.
Allshorn, who missed the first leg seven days earlier, caused problems for the home defence down the left and almost set up the opener, but his dangerous delivery evaded two team-mates in the area.
The hosts took the lead six minutes before half time as Lee Baldock ventured forward and teed up Lewis, who rifled a shot off the underside of the crossbar.
It saw his side take a 1-0 lead into the half-time interval and they began on the front foot after the break. After being brought down on the edge of the area by a high boot, Lewis stepped up to take the free-kick and beat Dascalu with the aid of a deflection off the wall.
Cymru North responded six minutes later as Meilir Williams found Morris, who kept his composure in the area before firing a low shot into the bottom corner beyond goalkeeper Morgan Davies.
The away side then drew level 13 minutes later when a long throw from Chris Cathrall caused problems in the penalty area and Cumming got the final touch.
Cymru North got in front for the first time when Allshorn fired home at the near post and then Cooke delivered the knockout blow as he struck from a tight angle to ensure there would be no way back for the Cymru South.
2022/23 JD Cymru South fixtures released
The fixtures for the 2022/23 JD Cymru North and JD Cymru South campaigns have been released ahead of the new campaign.Read more
Nathaniel MG Cup first round draw
The draw for the 2022/23 Nathaniel MG Cup first round took place at the sponsor's showroom in Bridgend on Tuesday.Read more
Wildcard entries confirmed for 2022/23 Nathaniel MG Cup
Denbigh Town and Caersws have been confirmed as the two wildcard entries for the 2022/23 Nathaniel MG Cup.Read more