A busy Fifth Round weekend kicked off with an entertaining cup tie in front of a packed crowd at Cappielow on Friday night. Both teams came into the match on the back of 5-0 victories in their previous games, but it would be the in-form hosts who edged this one. The Championship side Morton got their noses in front in the 35th minute as Liam Kelly failed to deal with a corner and the ball crept in off the back of the unfortunate Harry Paton.
George Oakley's superb low finish doubled The Ton's lead and, although Jack Vale pulled a goal back, Dougie Imrie's side hung on to extend their unbeaten run to 13 and claim a notable scalp against their Premiership opponents.
Four matches took place in the traditional Saturday afternoon slot and League Two Bonnyrigg Rose were in action as they travelled to Aberdeen dreaming of repeating their Fourth Round heroics which saw them knock out Falkirk.
There would be no such fairytale on this occasion, however, as Bojan Miovski bagged a first half brace to see Neil Warnock's Dons into the Quarter-Final.
Kilmarnock also saw off lower league opposition in the form of Cove Rangers by the same scoreline. Marley Watkins' flicked finish broke Cove resistance on the stroke of half-time and Danny Armstrong finished from a Rory McKenzie cross to seal a comfortable win for Derek McInnes' side.
Hibernian faced a tricky trip to the Highlands and they took until the 55th minute to break down Championship side Inverness. But once Myziane Maolida's deflected effort broke the deadlock, the visitors were clinical and Martin Boyle and Elie Youan extended their advantage. Aaron Doran's injury time effort proved a consolation as the 2016 winners Hibernian progressed to the last eight with a 3-1 win.
The game of the day took place in Maryhill as Partick Thistle looked to upset Premiership strugglers Livingston. And Kris Doolan's side found themselves 2-0 up after an hour through a Kerr McInroy wonderstrike and an Aidan Fitzpatrick nearpost finish.
But Livi hit back through Joel Nouble, who tapped in from a yard out before levelling the scores with a fantastic outside of the boot finish from a tight angle to force extra time.
And the Lions completed a dramatic comeback in the dying seconds of the extra period, as Tete Yengi headed in off the post to send Livi into the quarter-finals.
Saturday evening's match took place at Ibrox as former Celtic captain Scott Brown led his Ayr United side against Rangers.
Ayr fans may have been fearing the worst when they fell behind early on to a deflected shot from Borna Barisic but the Honest Men stayed in the game and had a couple of openings on the break.
However, Fabio Silva made the game safe with 15 minutes remaining, slamming home from close range following good work on the right by Todd Cantwell to ensure Philippe Clement's side will be in the hat for Sunday evening's draw.
Scottish Gas Men's Scottish Cup Fifth Round Results
Aberdeen 2-0 Bonnyrigg Rose
Airdrieonians v Heart of Midlothian (Sunday)
Greenock Morton 2-1 Motherwell
Inverness Caledonian Thistle 1-3 Hibernian
Kilmarnock 2-0 Cove Rangers
Partick Thistle 2-3 Livingston
Rangers v Ayr United 2-0
St Mirren v Celtic (Sunday)