Teenager Bob McKenna came off the bench to secure bottom-of-the-table Dundalk a 2-2 draw against Bohemians at Oriel Park.
McKenna swept home a John Mountney cut-back in the 84th minute after Dinny Corcoran looked to have won all three points for the Gypsies with his 75th minute effort.
Dundalk had taken a one-goal lead into the break through Stephen Maher’s effort in the 26th minute, but Bohs hit back in the 47th minute when Evan McMillan headed past Peter Cherrie.
The home side started brightly, with strikers William Woods and Michael Rafter both trying their luck early on.
Bohs took their time to get going, but they almost drew first blood in the 18th minute when Karl Moore cracked a fierce drive towards the bottom corner that Cherrie had to turn around his post.
Dundalk were gift-wrapped the lead after 26 minutes. Goalkeeper Andy McNulty inexplicably sent a clearance straight at Maher and the midfielder accepted the gift to roll the ball into an empty net.
Bohs equalised two minutes into the second-half. Pender's free from the right found McMillan and the big centre-forward planted his header into Cherrie's net.
Corcoran made his mark seven minutes after being introduced from the bench when he beat Chris Shields and Cherrie to a long ball to find the net in the 75th minute but McKenna had the final say to stop Dundalk's run of seven straight league defeats.
Dundalk: Peter Cherrie; Paul Whelan, Liam Burns (Peter Thomas 55), Chris Shields, Nathan Murphy; Conor McDonald, Stephen Maher, John Mountney, Mark O'Brien; William Woods (Bob McKenna 78), Michael Rafter (Chris Reilly 84).
Bohemians: Andy McNulty, Owen Heary, Dave Mulcahy, Roberto Lopez, Luke Byrne; Derek Pender (Dinny Corcoran 67), Keith Ward; Karl Moore (Peter McMahon 70), Ryan McEvoy, Kevin Devanney (Dwayne Wilson 79); Evan McMillan.
Referee: Dave McKeon.