Pete Mahon's Saints will have to overcome title chasers Dundalk in Oriel Park if they are to progress in this season's FAI Cup.
Former St Pats midfielder Keith Fahey helped draw the teams for the third round of this season's competition.
The tie will take place in Oriel Park on the weekend of the 3rd to 5th June.
|8||St. Patrick's Athletic||29||33|
|9||Galway United FC||29||32|