A crowd of 1,426 saw David Mulcahy mark his 100th game for St Pat's with a late winner at Richmond Park as St Pat's came from behind to steal the points.
Former Saint Mark Quigley put Dundalk ahead on 17 minutes with a stunning strike past Gary Rogers in the Pat's goal.
He doubled the lead five minutes into the second half with a cheeky scissors kick.
David McMillan put Pat's right back in the mix on 59 minutes before his brother Evan headed Pat's back on level terms on in the 62nd minute.
Mulcahy then fired in the winner in the 89th minute.
|11||St. Patrick's Athletic||10||8|
|12||Galway United FC||9||5|