Wexford set up a Leinster SFC quarter-final meeting with All-Ireland champions Dublin next Sunday after seeing off the challenge of Wicklow in an entertaining clash in Aughrim.
It is Wexford's first Leinster Championship win since 2014 and they will now host Dublin after Wicklow failed to make the breeze count in the second half.
Wexford led by 1-05 to 0-06 at the break having played with the strong wind in the opening half and really rolled up their sleeves after the restart to fashion a fine win.
They had to deal with a number of injury issues early on with Ben Brosnan not starting because of a hamstring injury. When he was introduced after seven minutes he only lasted 12 minutes, while goalkeeper Pa Doyle was injured in the warm-up and was replaced by Darragh Brooks.
But Wexford put those setbacks behind them to make a superb start with Mark Rossiter shooting a third-minute goal after good work from Michael Furlong and John Tubritt.
Arran Murphy got Wicklow off the mark after a good solo run and after Rossiter responded for Wexford with a fine point from the left, Davy Byrne's men hit back with points from Patrick O’Connor, Chris O’Brien and Padraig O’Toole to tie the sides at 1-01 to 0-04 at the first water break.
Rossiter edged Wexford back in front with a free but Mark Kenny cancelled this after a good run before Padraig Hughes and John Turbitt landed points in a good spell for Wexford.
O’Connor’s second point of the game for Wicklow cut the gap to the minimum but Wexford took a two-point advantage into the break when Rossiter landed a superb effort from the left to increase his haul to 1-03.
Wexford were temporarily reduced to 14 men at the start of the second half when midfielder Daithi Waters picked up a black card for an incident with Andy Maher which happened just before the interval.
Turbitt and Rossiter pointed either side of another O’Connor Wicklow point but the next five points came from the home side as they used the wind well.
Murphy, Chris O’Brien and Conor Byrne got them level before Murphy put Wicklow ahead for the first time in the game after 44 minutes and then goalkeeper Mark Jackson extended the lead with a free from 50 metres on the left.
Donal Shanley pulled back a free to leave Wexford trailing by a point, 0-12 to 1-08, at the second water break.
The game remained scoreless for the next 11 minutes as both sides failed to take chances but then Martin O’Connor burst forward and blasted to the net after taking a return pass from Liam Coleman to regain the lead after 61 minutes.
Another Rossiter point pushed them 2-9 to 0-12 ahead with eight minutes left.
Wicklow tried to rally but while O’Connor’s fourth point of the game cut the gap to three points, they were unable to muster a chance which might have yielded a goal to send it to extra-time and their 2021 season drew to a close in a disappointing fashion.
Wicklow: Mark Jackson (0-02, 2f); Arran Murphy (0-03), Eoin Murtagh, Oisin Manning; Darragh Fitzgerald, Niall Donnelly, David Deveraux; Padraig O'Toole (0-01), John Paul Hurley; Andy Maher, Mark Kenny (0-01), Conor Byrne (0-01); Chris O’Brien (0-02, 2f), Seanie Furlong, Patrick O’Connor (0-04).
Subs: Paul Cunningham for Fitzgerald (40), Daniel Keane for O’Brien (55), John Sheeran for Hurley (62), Fintan O’Shea for Cunningham (68), Saoirse Kearon for D Devereaux (69), Pat Burke for Maher (69).
Wexford: Darragh Brooks; Martin O’Connor (1-00), Gavin Sheehan, Liam O’Connor; Paraic Hughes (0-01), Brian Malone, Michael Furlong; Daithi Waters, Liam Coleman; Tom Byrne, Sean Nolan, Kevin O’Grady; John Turbitt (0-02), Eoghan Nolan, Mark Rossiter (1-06, 1f).
Subs: Ben Brosnan for Nolan (7), Donal Shanley (0-02, 2f) for Brosnan (19), Niall Hughes for Nolan (47), Eoghan Porter for L O’Connor (57), Alan Tobin for O’Grady (58).
Referee: Fergal Kelly (Longford).