St Patrick's Athletic progressed to the last eight of the FAI Ford Cup but it took extra time to overcome the challenge of Monaghan United at Richmond Park, writes Mark Cummins.
Bobby Ryan shot home the all-important winner from eight yards at the left post on 105 minutes to put the Saints through.
Both sides had plenty of chances in normal time and Monaghan boss Mick Cooke will be proud of his team's performance.
In fact, United' Brian Gartland had a particularly good night and picked up the FAI Ford Man of the Match award.
In a lively opening Saints goalkeeper Gary Rogers saved from Cathal O'Connor on five minutes, while Mark Quigley fired wide for the home side in the eighth minute.
Quigley had another crack again on 18 minutes but, once again, shot wide.
And it was Quigley who turned provider after 20 minutes when he put Ryan Guy through on the left but Paul Whelan did well to stop the attack.
Quigley was really getting stuck in and latched on well to Stuart Byrne's pass on after 23 minutes.
But he was edged out far right by the United defence and could only direct his shot straight at goalkeeper Aaron McCarey.
St Pat's were a little bit lax in defence on a number of occasions.
Monaghan took advantage but were unlucky to fall victim to the offside flag several times.
The home side finished the first half slightly stronger than United and had two early chances in the second period with Guy and Quigley both going close.
Substitute Conor McMahon did extremely well for United after 57 minutes when he made a perfect tackle to dispossess Bobby Ryan outside the box.
McCarey later made a fine save from Enda Stevens on 67 minutes after a sustained period of Saints pressure while he also saved from a softer effort from Ryan on 72 minutes.
St Pat's had calls for a penalty ignored when Stevens was taken down in the area on 84 minutes, while Alan Byrne's effort from Karl Bermingham's cross for Monaghan was blocked with four minutes remaining.
In extra time, Ryan found the net seconds before the end of the first period of the extra half hour.
Lynch was involved on the right and Ryan connected with a cross, composed himself and shot into the back of the net at the left post from eight yards out.
Gary Dempsey went close a minute into the second period of extra time but McCarey did well to save his free, while Mark Leech hit the woodwork late on.
St Pat's now progress to a meeting with Waterford United on Saturday night.