Leinster (3) 16
- Try: McFadden
- Con: McFadden
- Pens: McFadden 3
Scarlets (10) 13
- Try: Newton
- Con: S Jones
- Pens: S Jones, Newton
Fergus McFadden's last-gasp penalty gave Pro12 leaders Leinster a comeback victory over the Scarlets at the RDS.
Stephen Jones and McFadden exchanged early penalties before a converted Dan Newton try left the Welsh side 10-3 ahead at the break.
McFadden touched down a minute into the second half and the centre brought Leinster level with the added points.
Newton's penalty put the Scarlets back in front but McFadden added his second penalty before kicking the late winner.
McFadden coolly slotted the kick from outside the 10-metre line as Leinster kept on course for a home semi-final berth in the Pro12.
With the aid of a wind advantage the Scarlets were quick to settle at the RDS, and strong carries from Stephen Jones and Andy Fenby got them into the hosts' 22.
Jones kicked the opening points to punish Sean Cronin for a ruck infringement, but Leinster were back level within three minutes.
Fionn Carr raised the tempo with a slashing midfield run and with Kieran Murphy going off his feet at a ruck, McFadden converted the kicking opportunity.
Jones missed a long-range attempt to respond before Leinster stepped it up again, turning defence into attack with Cronin securing turnover ball.
Just minutes later, the Scarlets looked vulnerable as they defended a maul but a combination of Josh Turnbull and Rhodri Jones prevented Jack McGrath from touching down.
Defences were on top until the 24th minute when the visitors struck for a well-executed first try.
Leinster were caught cold as Deacon Manu sprung clear from a midfield ruck, he passed for Johnathan Edwards and Newton was up in support to finish the move off to the right of the posts.
Jones converted for a seven-point advantage and that is how it remained for the break, with McFadden sending a difficult left-sided penalty wide of the posts.
Leinster did build for a final crescendo and Liam Williams was fortunate to avoid a punishment for a deliberate knock-on as Isa Nacewa attacked out wide.
With the rain dying down for the start of the second half, Leinster seized their chance with a try after just 59 seconds.
McFadden's quick feet led to Scott Williams slipping and the Leinster centre ghosted through the gap and muscled his way over beneath the posts. He added the extras to square the sides up.
New England cap Ben Morgan was introduced for the Scarlets soon after. With Jones withdrawn, Newton stepped in at out-half and also booted an excellent penalty from distance.
Two minutes later, McFadden closed the gap again and Leinster began to press again as replacements Leo Auva'a and Richard Strauss tried to punch holes in the Scarlets defence.
The Welsh region stood up to the task and their defensive line held firm until replacement Damian Welch infringed at a ruck. McFadden, however, watched his kick at goal drift away to the right.
The game seemed destined for a stalemate when Nigel Davies' men won a relieving penalty with time almost up.
But Leinster managed to snaffle the ball back onto their side, and a final ruck offence from Scarlets replacement prop Phil John allowed McFadden to complete his match-winning 16-point haul.
I Nacewa, D Kearney, E O'Malley, F McFadden, F Carr, I Madigan, E Reddan, J McGrath, S Cronin, J Hagan, D Browne, D Toner, K McLaughlin (cpt), S Jennings, R Ruddock.
I Boss for Reddan (61), H van der Merwe for J. McGrath (57), R Strauss for Cronin (53), N White for Hagan (53), L Auva'a for Browne (40), D Ryan for R. Ruddock (67).
N Reid, B Macken.
Dan Newton; Liam Williams, Gareth Maule (capt), Scott Williams, Andy Fenby; Stephen Jones, Gareth Davies; Rhodri Jones, Emyr Phillips, Deacon Manu, Sione Timani, Dominic Day, Josh Turnbull, Johnathan Edwards, Kieran Murphy.
V Iongi for L Williams (40), A Warren for S Jones (57), L Davies for G Davies (76), P John for R Jones (62), Hawkins for Phillips (76), P Edwards for Manu (62), D Welch for Timani (47), B Morgan for Murphy (47).
Nigel Owens (WRU)