Ross County secured their first home Scottish Premier League win of the season after a goal-laden encounter with Hibernian at Victoria Park.
Leigh Griffiths gave the visitors an early lead before Stuart Kettlewell levelled for the Staggies from Richard Brittain's ninth-minute corner.
Iain Vigurs' acute finish then put County ahead, but James McPake's volley restored parity before the break.
Colin McMenamin was County's hero, netting Gary Glen's 83rd-minute flick.
County's win gave them their first points in their four outings since St Johnstone ended their 40-game unbeaten league run in September.
Hibs' breakthrough on eight minutes came after Griffiths slid the ball through keeper Michael Fraser's legs to the delight of a buoyant 500-strong travelling Hibs support.
However, their joy was short-lived since within a minute Brittain's free-kick was headed away for a corner which Hibs failed to defend properly, allowing Kettlewell to blast it home from close range.
By now County were getting the better of the game and just after the half hour they went ahead. A high ball over the top fell to man-of-the-match Vigurs who found the net from an incredibly tight angle outside the right post.
The first half still was not over and Hibs got a very late equaliser when a poor free-kick from Griffiths found McPake who manoeuvred in front of goal to fire in a fine left-footed volley.
The second half initially had little of the excitement or goalmouth action of the first and took all of 20 minutes to get going.
But with 69 minutes on the clock Paul Hanlon had a long shot stopped by Fraser and soon after at the other end Grant Munro headed closely over from a corner.
Next, Griffiths twice came close to what could have been a winner for Hibs when he first shot over and then grazed the top of the bar.
But the winner came for County when Gary Glen found substitute striker McMenamin poked it into the net from close in to give the SPL newcomers from Dingwall their second win in the top tier.
McMenamin might then have made it four while Hibs also pressed hard for the point which just eluded them.