Dublin's all-consuming ambition to reach the Leinster Senior Hurling final was crushed by a Wexford side who lived dangerously for long periods of yesterday's semi-final replay at Croke Park.
This will be the eighth year on the trot that Wexford will confront Kilkenny in the provincial decider, yet their passage looked a rather remote possibility when the Dubs led by 0-5 to 0-1 at the end of the first quarter.
It was David O'Callaghan who proved the ace in the Dubs' pack, his clinical finishing keeping Wexford under pressure.
But the Model County found their rhythm shortly before the break and began to make the most of their opportunities, pushing forward with much more menace and Stephen Banville and Rory Jacob struck goals to leave them 2-9 to 1-8 in front at half-time.
Dublin played with renewed vigour at the start of the second-half with O'Callaghan still a sharp thorn in Wexford's side, his three-point scoring burst further galvanising his side.
O'Callaghan, who ended up with a personal haul of 1-9, added a further point and Dublin's chances of coming out on top at Croker appeared to heighten when Wexford defender Malachy Travers was red-carded.
However, Wexford were able to absorb late Dublin pressure, even though they themselves were held scoreless for the greater portion of the final quarter of the match.