Kevin Kyle netted an 86th-minute winner as Hearts broke down stubborn Hibernian to win the New Year's Day Edinburgh derby 1-0 at Tynecastle.
Kyle converted substitute Arvydas Novikovas' deep cross as Hearts claimed a 10th win from 12 games to move three points behind Celtic and two adrift of Rangers at the top of the Clydesdale Bank Premier League.
Hearts missed a chance to go in front after 13 minutes. David Templeton, Rudi Skacel and Ruben Palazuelos combined on the left and neither Kyle or Calum Elliot could apply the final touch to Skacel's cross.
Hibs frustrated their hosts with men behind the ball and their best chance fell to Colin Nish after 76 minutes, the striker shooting narrowly wide.
Hearts substitute Gary Glen missed a straightforward opportunity when failing to hit the target from a Novikovas cross five minutes from time, but his blushes were spare when Kyle netted the winner moments later.
Novikovas was the provider as Kyle headed beyond Mark Brown from the substitute's deep cross for his 10th of the season.