Match ends, Inverness CT 1, Raith Rovers 0.
Inverness Caledonian Thistle saw off Raith Rovers to set up a Scottish Cup semi-final meeting with either Celtic or Dundee United.
The hosts bossed possession and territory for most of the match, with Marley Watkins and Danny Williams both going close.
And Danny Devine nodded home the winner from Greg Tansey's corner after the break.
Visitors Raith never looked like getting back into the match.
The quarter-final victory means Inverness will face the winner of the replay between Celtic and Dundee United, which takes place on 18 March at Celtic Park.
The hosts had the first two opportunities of the game, Tansey curling wide and Edward Ofere having a couple of headers blocked.
Raith broke upfield from an Inverness corner and only a challenge from David Raven prevented Rory McKeown getting on the end of Mark Stewart's cross.
Inverness midfielder Ryan Christie freed Watkins and even though he was forced wide, he managed to arrow a shot right across the face of goal.
Although Inverness were comfortable in possession they lacked a killer edge in front of goal, often trying to do too much as simple passes and shooting opportunities were overlooked.
They also had trouble springing the offside trap with Ofere and particularly Watkins caught out by Raith's high defensive line.
Nigerian forward Ofere went close again before the break, this time meeting a Christie cross and flicking it wide of the far post.
The best chances of the first half came within moments of each other. Graeme Shinnie's effort was saved by David McGurn and, after the resulting corner had been cleared, Williams smashed the ball against the crossbar.
Watkins spurned a golden opportunity at the start of the second half. He beat the offside trap to get on the end of Josh Meekings' cross to the far post, but from four yards out the Welshman managed to turn it over the bar.
A pair of headers from Watkins and Meekings were tipped over the top by McGurn as the home side strived for the opening goal. Clear-cut chances to test McGurn were few and far between, however, with Christie twice firing over the bar.
The breakthrough came when Devine, starting just his second game of the season, rose highest at the back post to head Tansey's corner in off the woodwork.
- 22ChristieSubstituted forRossat 90+1'minutes
- 19WilliamsSubstituted forKinkat 79'minutes
- 7OfereSubstituted forDoranat 79'minutes
- 7AndersonSubstituted forVaughanat 76'minutes
- 6FoxSubstituted forConroyat 88'minutes
- Crawford Allan
- Shots on Target
Second Half ends, Inverness CT 1, Raith Rovers 0.
Ross Draper (Inverness CT) wins a free kick in the defensive half.
Foul by Christian Nade (Raith Rovers).
Substitution, Inverness CT. Nick Ross replaces Ryan Christie.
Ross Draper (Inverness CT) wins a free kick in the attacking half.
Foul by Ryan Conroy (Raith Rovers).
Attempt saved. Ryan Conroy (Raith Rovers) header from the centre of the box is saved in the centre of the goal.
Substitution, Raith Rovers. Ryan Conroy replaces Liam Fox.
Attempt missed. Greg Tansey (Inverness CT) right footed shot from outside the box is just a bit too high.
Foul by Graeme Shinnie (Inverness CT).
Mark Stewart (Raith Rovers) wins a free kick in the attacking half.
Hand ball by Liam Fox (Raith Rovers).
Attempt missed. Ryan Christie (Inverness CT) left footed shot from outside the box is just a bit too high.
Substitution, Inverness CT. Tarmo Kink replaces Danny Williams.
Substitution, Inverness CT. Aaron Doran replaces Edward Ofere.
Substitution, Raith Rovers. Lewis Vaughan replaces Grant Anderson.
Ross Draper (Inverness CT) wins a free kick on the right wing.
Foul by Grant Anderson (Raith Rovers).
Foul by Marley Watkins (Inverness CT).