Cormac Costello scored a freak goal in the seventh minute of injury time which saw his Whitehall Colmcille side defeat Castleknock 3-16 to 3-14 in the Dublin SFC on Saturday.
In the 66th minute, Whitehall - who were a point down at the time - were awarded a free following a foul on Enda O'Donnell. Costello stepped up with a chance to level the game.
The kick by the seven-time Dublin All-Ireland winner dropped short on a windy day at Parnell Park, but still found the net via the fist of the Castleknock goalkeeper.
"It was an unbelievable finish to the game," Whitehall manager Anto Holly told Dubs TV.
"It was end-to-end stuff, like football should be play - all out attacking. It was two teams working really hard for each other.
"In the end, we got over the final hurdle with Cormac getting the goal at the end. It was heart attack stuff, I nearly dropped on the sideline. It could have went either way.
"It's gone like that in Gaelic, when you score a goal, you're wide open to concede a goal. Maybe that's something we need to work on, when we score goals, we need to improve our defensive system from their kickout."
The weekend's victory in the football was Whitehall's second of the championship, adding to their 2-20 to 1-8 win against Rounds Towers Lusk. Whitehall, who are currently top of Group 4, face Lucan Sarsfields in the final round.
"It really does give us a real chance [to progress to the quarter-finals]," added Holly.
"If you looked at the championship at the start of the year, there's a lot of teams that might have said 'We're happy to have Whitehall in the group', going by our performances last year when we were in the relegation battle against Vincents."