Leinster earned a bonus-point win over the Scarlets at the RDS as they moved into second spot in the Pro12.
The hosts, boosted by the return of Ireland players, led 22-0 at the break after tries for Brendan Macken and Jack McGrath as well as a penalty try.
The Scarlets ate into the deficit with an opportunist try from Gareth Davies and Gareth Maule added another.
But Leinster hit back with tries from Eoin Reddan and Zane Kirchner before Adam Warren's late consolation try.
Leinster moved in front with an eighth minute penalty slotted home by Ian Madigan.
Kirchner added some zip to an attack on the left before centre Macken evaded Warren's grasp in midfield and darted over in the right corner. Madigan was unable to convert.
Kirchner was eager to impress on his first home start, dummying and linking superbly with Madigan to create another opening for Macken.
The South African was denied his first try for the province just moments later.
Scarlets centre Maule did really well to get his hand under the ball, with support from Nick Reynolds, as Kirchner went for the line.
Television match official Kevin Beggs ruled that the ball had been held up, but from the resulting five-metre scrum Leinster forced a couple of penalties and the third collapse led to the awarding of a penalty try.
After Madigan's conversion, the Scarlets looked set to hit back immediately as scrum-half Davies raided through but his pass to the supporting John Barclay was adjudged forward.
Injuries to Martin Moore and Gareth Owen briefly broke up the game's momentum, however the Scarlets were now struggling and Leinster's power up front ground them down again with prop McGrath piling over under the posts.
Madigan added the extras once more before Simon Easterby's charges forced the issue approaching the interval.
Frazier Climo and Thomas ran out of space in the right corner and although Leo Cullen was sin-binned for three penalties on the trot, the Llanelli pack were unable to convert a late spell of pressure into points.
The visitors - with a reinforced front row containing Romanian international Horatiu Pungea - pressed for an elusive try and they got their reward seven minutes into the second period.
Scrum-half Davies profited from a Jennings knock-on as he scooped up a breaking ball and his momentum took him past Madigan and Reddan to score in the left corner.
Thomas sent the conversion to the left and wide and the Scarlets suffered a setback soon after as number eight Sione Timani saw yellow for a foot trip on Lote Tuqiri.
Reynolds did well to tackle his opposite number Fitzgerald into touch to deny Leinster a fourth try and the visitors made it a 10-point game with a terrific breakaway effort.
Barclay scrapped for a ruck ball and Jordan Williams and Warren spearheaded a fine counter-attack which ended with Gareth Davies providing the try-scoring pass for Maule, who injured himself as he grounded the ball.
After Thomas supplied the extras and Maule was taken off, Leinster made sure to score before Timani's return.
Sean Cronin's barnstorming run got the hosts into position and Reddan plunged over from a close range ruck, with Madigan sweeping home the touchline conversion.
There was still time for replacement Jimmy Gopperth to break down the left and set up Kirchner for a comfortable finish in the corner, before the Welsh region had the final say as Warren evaded Tuqiri's clutches in injury-time.
Leinster: Kirchner, Tuqiri, Macken, D'Arcy, Fitzgerald, Madigan, Reddan, J. McGrath, Dundon, Moore, Cullen, McCarthy, Ruddock, Jennings, Murphy.
Replacements: Gopperth for D'Arcy (59), Fanning for Fitzgerald (68), L. McGrath for Reddan (62), Bent for J. McGrath (63), S. Cronin for Dundon (60), Denton for McCarthy (68), Ryan for Jennings (56). Not Used: Ross.
Sin Bin: Cullen (39), Macken (79)
Scarlets: Owen, Reynolds, Maule, Warren, Climo, A. Thomas, G. Davies, John, Myhill, Adriaanse, Ball, Snyman, A. Shingler, Barclay, Timani.
Replacements: Lewis for Maule (61), A. Davies for G. Davies (59), Evans for John (42), E. Phillips for Myhill (42), Pungea for Adriaanse (42), Kelly for Snyman (61), Turnbull for Timani (78). Not Used: J. Williams.
Sin Bin: Timani (51)
Ref: Ian Davies (Wales)