Dylan Hegarty from Swilly Rovers proved to be the match-winner as a home-based Republic of Ireland team beat Wales.
Hegarty was a late call-up to the squad by manager Paul Doolin and left it late in the day in the exciting contest at Ozier Park in Waterford on Sunday.
As well as Hegarty, Darragh black from Finn Harps was also on the mark.
The Irish squad also included Donegal player Christopher Flanagan and Joe McIntyre, both also of Harps, as well as Georgie Kelly, who is on the books of Derry City, is a native of Buncrana.
The Irish produced an impressive display despite the heavy underfoot conditions and took the lead on 11 minutes.
Sligo Rovers’ Liam Flatley did well to set up Bray Wanderers striker Ryan Swan and he fired past visiting goalkeeper Conah McFenton with a crisp shot from just inside the penalty area.
The hosts increased their lead on 38 minutes when the Finn Harps pair of McIntyre and Black combined.
McIntyre played a corner kick from the right to Black and he curled the ball into the rook of the net with his left foot from just outside the penalty area.
Wales got back into the game from the penalty spot on 51 minutes.
Peter Jones got a run on goal and the Irish goalkeeper Patrick Dunican was forced to take down the Welsh striker. Ryan Wyn Jones duly dispatched the spot kick with ease.
The visitors levelled matters on the hour mark after Harri Jones crossed from the left and Aaron Hassall finished in style running in from the right side of the pitch for an excellent goal.
Ireland finished strongly with Liam Flately again turning playmaker as he set up Jack Bayly on 82 minutes but substitute goalkeeper Ryan Edkins produced a fine save with his legs.
McIntyre then had a rocket of a shot saved by Ryan Edkins.
Three minutes into stoppage time Ireland popped up with the winning goal. Bayly’s corner kick from the left landed at the feet of Hegarty and the Swilly Rovers defender fired home from close range.
It was a dramatic finish to the first ever international game to be played at the famous old Waterford ground, Ozier Park.
Interestingly, it is believed that Zyaac and Noah Edwards became the first ever twin brothers to play international football for Wales in this game. The two sides meet again on Monday at Tramore AFC, Waterford (7pm).
Republic of Ireland: Patrick Dunican (Athlone Town), Lloyd Buckley (St Kevin’s Boy’s), Timmy Murphy (Cork City), Ryan Robinson (Shelbourne), Christopher Flanagan (Finn Harps), Liam Flately (Sligo Rovers), Chris McCarthy (Cobh Ramblers), Ryan Swan (Bray Wanderers), Darragh Black (Finn Harps), Joe McIntyre (Finn Harps). Subs: Dylan Kavanagh (UCD) for Murphy 22 ; Aaron Robinson (Shelbourne) for McCarthy 55; Daryll Power (Wexford Youths) for Swan 64; Jack Bayly (St Patrick’s Athletic) for Black 65; Maurice Shanahan (Waterford United) for Buckley 82.
Wales: Conah McFenton, Sam Pearson, Caio Mabon Hywel, Myles Hart, Ryan Wyn Jones, Taylor James, Zyaac Edwards, Aaron Hassall, Harri Jones, Connah Troy, Jamie Butler. Subs: Keiran Williams for Butler 41 ; Ryan Edkins for McFenton 46; Peter Jones for James 46; Ed Powl Jones for Edwards 46; Noah Edwards for Pearson 55; Sam Faulkner for Hart 60; Adam Davies for Harri Jones 78.
Referee: Andrew Mullally.