Dublin made it three wins from three in Division 2 of the Allianz Football League with victory over Cork following a pulsating clash at Páirc Uí Chaoimh.
Dessie Farrell's side proved more clinical in front of goal and saw off a spirited Cork who twice found the net via Eoghan McSweeney and Matty Taylor.
Six Dean Rock and four Con O’Callaghan points proved crucial, as did David O’Hanlon’s last-minute save, in a game both teams finished with 14 players.
Rock opened the scoring from a fifth-minute free but Cork responded instantly, with Brian Hurley brilliantly splitting the posts.
A close-range Rock free restored Dublin’s advantage as the visitors began to gain a foothold.
Cork’s patient approach was rewarded with a McSweeney leveller prior to Ciarán Kilkenny floating an effort inches wide of Míchéal Aodh Martin’s upright.
The hosts wasted a goal opportunity of their own when Chris Óg Jones’ effort was smothered by David O’Hanlon shortly after.
A Stephen Sherlock free pushed Cork ahead for the first time and an engaging opening quarter ended 0-03 to 0-03 following Rock’s third free.
Hurley and Con O’Callaghan exchanged scores but Cork’s increasing confidence was rewarded with a superbly crafted goal on 21 minutes. Knocknagree’s Eoghan McSweeney fired into the roof of the net at the conclusion of a fluid move.

Ross McGarry and the influential Hurley scored at either end to make it 1-5 to 0-05 late in the first half.
Then, Daire Newcombe and Cian Murphy scored to leave the Dubs trailing by a point.
Maurice Shanley had a goal correctly ruled out for a square infringement but Hurley’s subsequent mark restored Cork’s two-point advantage.
Moving up the gears, O'Callaghan, Rock and Cormac Costello found their range to deservedly edge Dublin ahead 0-10 to 1-06 at the interval.
Cork’s hopes suffered a huge setback with Ian Maguire’s second yellow card reducing the Rebels to 14 players two minutes into the second period.
A Rock free and fisted O’Callagan point increased the visitors lead while a struggling Cork racked up their 10th wide.
Rock took his tally to six and Newcombe to two before Dublin were reduced to 14 men when Lee Gannon received a second yellow after 47 minutes. Both dismissals were greeted with bemusement.
Hurley notched the Rebels’ first score of the second period after 43 minutes to make it 0-14 to 1-07.
A close-range Hurley free made it a three-point game before substitute Ruairí Deane setup Matty Taylor to arrow a magnificent shot into the Dublin net.
Level at 2-08 to 0-14 with 15 minutes to play, Dublin pushed back in front through Brian Fenton and James McCarthy efforts.
As the rain fell, Hurley’s seventh score of the afternoon was followed by a O’Callaghan mark.
Another Hurley free made it 2-10 to 0-17 prior to seven minutes of injury time.
The excitement was palpable but it was Dublin who got the next crucial point as Jack McCaffrey burst through to score.
A last-gasp Hurley effort was magnificently tipped on to the post by O’Hanlon and Dublin survived to win by two.
Cork: Micheál Aodh Martin; Maurice Shanley, Daniel O’Mahony, Tommy Walsh; Luke Fahy, Rory Maguire, Matty Taylor (1-0); Colm O’Callaghan, Ian Maguire; Eoghan McSweeney (1-1), Sean Powter, Brian O’Driscoll; Brian Hurley (0-8, 0-1 mark, 0-3 frees, captain), Chris Óg Jones, Steven Sherlock (0-1, 0-1 frees).
Subs: Ruairí Deane for Sherlock (42), Conor Corbett for Óg Jones (54), John O’Rourke for McSweeney (61), Killian O’Hanlon for Powter (62), Fionn Herlihy for O’Driscoll (71).
Dublin: David O'Hanlon; Cian Murphy (0-1), Peadar Ó Cofaigh Byrne, Michael Fitzsimons; Lee Gannon, John Small, Eoin Daire Newcombe (0-2); Brian Fenton (0-1), Tom Lahiff; Niall Scully, Ciaran Kilkenny, Ross McGarry (0-1); Cormac Costello (0-1), Dean Rock (0-6, 0-4 frees), Con O'Callaghan (0-4, 0-1 mark).
Subs: James McCarthy (0-1, captain) for Ó Cofaigh Byrne (43), David Byrne for Scully (54), Colm Basquel for McGarry (54), Jack McCaffrey (0-1) for Murphy (57), Lorcan O’Dell for Costello (68).
Referee: Seamus Mulhare (Laois)