Shamrock Rovers got back on track as they made it ten in a row over Galway United at Eamonn Deacy Park.
Pat Fenlon's men had Luke Byrne to thank for their half-time lead but Enda Curran equalised only for Kieran 'Marty' Waters to strike the winner.
The visitors led 1-0 at half-time after an entertaining first half during which both sides had their chances.
It was a quiet opening but after 24 minutes Rovers' centre-half Tim Clancy went close and Brandon Miele also found the range but Conor Winn was equal to it.
Colm Horgan had a great chance to give Galway a surprise lead but he blazed his effort well wide of the target and the hosts were then punished as Rovers took the lead five minutes before the break after Mark Ludden gave away a free-kick on the edge of his area.
Stephen McPhail swung the ball in and Ryan Brennan's glancing header was latched onto by Byrne, who made no mistake.
Galway manager Tommy Dunne made two alterations at the break, sending in Kevin Garcia and Curran.
And it was Curran who made an instant impact, with his first touch a minute after the restart.
A long throw-in from Ludden went across the Rovers area and Shanahan provided the assist to set up Curran.
Galway looked rejuvenated, Curran and Keegan were combining well. And, when the American crossed the ball for Gary Shanahan, it looked impossible for him to miss but the Galway winger did just that.
Rovers weren't taking their chances, either, and Waters shot over in the 65th minute before emaking amends soon after. David Webster nodded the ball down and Waters made no mistake to win it, with Galway unsuccessful in trying to salvage their first draw.
Galway United - Winn; Ludden, Oji (Cantwell 81), Walsh, Horgan; Shanahan, Connolly, Byrne, O'Donovan (Garcia h-t); Keegan, Cunningham (Curran h-t).
Shamrock Rovers - Hyland; Madden, Webster, Clancy, Byrne; Miele (G Brennan 88), Cregg, McPhail (McCaffrey 81), McCabe; Waters, R Brennan.
Ref - N Doyle