Hibernian gifted Hearts the bragging rights in the Edinburgh derby as they scored two own goals in a frantic game at Tynecastle.
Alen Orman scored the opening goal with a deflection into his own net early on and there was no way back for Hibs when Gary Smith also put the ball past his own goalkeeper midway through the second half.
It gave Hearts revenge for the defeat by Hibs earlier in the season and added to Hibs manager Bobby Williamson's poor derby record.
It was a freak goal that gave Hearts the lead after eight minutes. A poor corner from Paul Hartley was hooked away from the near post by Kevin Thomson but the ball struck Orman and bounced into his own net.
Hibs hit back and Craig Gordon made a fine save at his post from Derek Riordan after he was left unmarked at a Thomson corner.
But that was as close as Hibs came in a first half where they had plenty of possession but posed little threat up front.
Hearts lost skipper Steven Pressley with a thigh injury midway through the first half and it will cause concern before they face Bordeaux in the UEFA Cup on Thursday.
The home side stepped up a gear towards half-time. Patrick Kisnorbo was just too high with a long-range shot after taking a pass from Mark De Vries.
Shortly afterwards, Hartley curled in a free-kick which skipped just past the post.
With three minutes of the first half left, Jean Louis Valois tested Daniel Andersson from distance but the goalkeeper coped comfortably.
Hearts had a chance to get a second goal six minutes into the second half when Hartley had an opening but his shot across the face of the goal was well blocked by Andersson before De Vries could latch on to the rebound.
Two minutes later, Garry O'Connor connected with a Riordan free-kick but his header was just too high and Hearts escaped.
Hearts always looked the more purposeful but too often their promising breaks were halted by the offside flag after mistimed runs from their forward players.
It was no surprise when the killer second goal arrived after 67 minutes. Robbie Neilson played a teasing cross into the area and Smith turned the ball into his own net as he sought to prevent it reaching De Vries.