Galway will play Kilkenny in the Leinster senior hurling final and Wexford have survived in the Leinster championship.
Galway came from 10 points at half time to earn a draw against Dublin at Croke Park.
It ended Galway 1-25 Dublin 2-22.
Wexford won by 2 points against Kilkenny in a thriller at Wexford Park.
It finished Wexford 4-23 Kilkenny 5-18.
Westmeath have been relegated to the Joe McDonagh Cup.
They lost by 4-24 to 1-19 to Antrim in Mullingar.