Wales suffered their first Six Nations defeat since 2018 as Ireland grabbed a bonus point victory in Dublin.
The Aviva Stadium was the scene of their last loss in the tournament and errors cost them as they lost 24-14.
Ireland began the game in the ascendancy and deservedly went ahead in the 19th minute through a try from full-back Jordan Larmour.
Following a ruck inside the Wales 22, Larmour received the ball from scrum-half Conor Murray and brushed his way through the Welsh defence before touching down wide on the right.
Fly-half Johnny Sexton was embarrassingly off target with the conversion, leaving the score at 5-0.
Wales suffered a blow in the 25th minute when wing Josh Adams, who scored a hat-trick of tries in the win over Italy, was forced off and replaced by Johnny McNicholl, but they quickly responded to the setback and edged ahead.
Scrum-half Tomos Williams dived over to the right of the posts after racing clear on to a pass from Dan Biggar, with the latter adding the extras to put the visitors 7-5 ahead.
Wayne Pivac’s side did not lead for long due to a costly error from Williams.
The Welsh number nine knocked on close to his own try line following a line-out and, from the resultant scrum, prop Tadhg Furlong bulldozed his way over to score.
Sexton made no mistake with a much simpler conversion, putting Ireland 12-7 in front.
Ireland took their slender advantage into the break, leading 12-7.
The hosts were rewarded for a dominant start to the second period with a third try of the afternoon, scored by Josh Van Der Flier.
Referee Romain Poite awarded the score following a lengthy consultation with the TMO after flanker Van Der Flier grounded in the left corner during a maul.
Sexton successfully kicked the conversion, giving the hosts breathing space at 19-7.
Wales thought they had found a way back into the contest but centre Hadleigh Parkes was adjudged to have lost control of the ball as he dived for the try line.
French official Poite initially awarded a try before ruling it out following another lengthy review.
The result was sealed late on when Andrew Conway converted a simple chance and Wales added a score in the final minute to pull the score back to 24-14