Galway United claimed their third win over St Pat's this season following an action-packed encounter at Richmond Park.
Pat's took the lead on 42 minutes when Ryan Guy's header went in off the underside of the crossbar. Galway got back on level terms on 56 through Jay O'Shea's penalty, before Sean Kelly put them in front with a fantastic 25-yard shot two minutes later.
Both sides had plenty of goalmouth action in an evenly contested encounter. Guy found the side netting early on for Pat's while David Cooke went close at the other end for United.
Dave Partridge headed over from Gareth O'Connor's corner for Pat's on 23 minutes before O'Shea sent his free into the hands of Pat's 'keeper Gary Rogers.
The end-to-end action continued with Bobby Ryan sending a decent-looking drive high and wide for Pat's on 29 and Rogers saving well from Galway's Michael McGrath.
Pat's took the lead on 42 when Stephen Maher pulled the ball back from the by-line and sent it over to Guy who rose high and headed the ball into Barry Ryan's net off the underside of the crossbar.
Galway were back on level terms on 56 minutes when Jason Gavin was adjudged to have handled the ball in the area.
Referee Niall Doyle pointed to the spot and O'Shea blasted past Rogers at the Inchicore end. Doyle also sent off Pat's assistant manager John Carroll on the advice of the fourth official.
The excellent O'Shea was involved in the build up when Galway took the lead on 58 after Kelly collected the ball on the right and unleashed a truly superb 25-yard shot past Rogers into the top corner of the net.
Pat's fought back with Guy shooting narrowly wide right of the post on 63. Barry Ryan then made a fantastic save from a Maher shot on 67.