Scrum-half David Moore scampered over for a last-minute try as Blackrock College outlasted UL Bohemians to move up to sixth in the Division One table.
'Rock took an 8-7 lead into half-time with centre Brian Canavan crossing for a try and full-back Fionn Carr landing a penalty.
With two penalties and a converted try, out-half Fergal Lawlor managed to put Bohs back in front three times in the second half, however 'Rock came good with tries from Ireland U-20 duo Paul Ryan and Moore.
Scorers:
UL Bohemians: Tries: Martin McPhail, Fergal Lawlor; Cons: Fergal Lawlor 2; Pens: Fergal Lawlor 2
Blackrock College: Tries: Brian Canavan, Paul Ryan, David Moore; Con: Kyle Tonetti; Pens: Fionn Carr, Kyle Tonetti