Dunfermline Athletic produced an early contender for result of the Scottish Gas Men's Scottish Cup Fourth Round weekend as they stunned 2016 winners Hibernian at a raucous KDM Group East End Park.
Kieron Bowie had passed up a glorious chance for the visitors, while Andrew Tod came close for the hosts, before Kieran Ngwenya's last minute header cannoned in off Miguel Chaiwa to send the Dunfermline supporters wild, as Neil Lennon got one over his former team.
Annan Athletic were eyeing a cup upset of their own as they travelled to Ibrox to face Rangers on Friday evening, but there would be no hint of a shock on this occasion, with Rangers producing a professional performance.
It was Bojan Miovski's night, with the North Macedonian striker firing Gers in front in the 12t minute, then nodding home a second just after the half hour mark before completing his hat-trick with a late penalty.
That spot-kick came after a Kieran Dowell looping header, while Thelo Aasgaard scored the goal of the night with an unstoppable curling free-kick in the dying moments of the game.
While the Dunfermline victory make take the headlines, League One table-toppers Stenhousemuir also produced a stunning result at Ochilview, running out 3-0 winners against Championship side Greenock Morton.
First half goals from Nicky Jamieson and Matty Aitken had Stenhousemuir on their way before Gregor Buchanan added a third and Aitken notched a second to send the hosts into Round Five for the first time in 12 years.
Camelon Juniors had enjoyed a dream cup run, reaching the Fourth Round for the first time but their journey came to an end at home to Elgin City, who triumphed 3-1 after a brace from Kane Hester and a Lucas Williamson own goal.
There were a number of all-Premiership ties taking place on Saturday and Dundee showed character to come from behind to defeat Kilmarnock 2-1 at Rugby Park. Dominic Thompson's superbly taken opener gave Killie the lead before goals from Ashley Hay and Drey Wright turned the game in Dundee's favour.
St Mirren's Roland Idowu and Livingston's Scott Arfield exchanged goals in the first ten minutes of another all-top flight game but there would be no further goals and Saints eventually prevailed on penalties to earn a much-needed victory.
Three other afternoon matches went all the way to spot-kicks, with Airdrieonians, Kelty Hearts and Spartans all securing their passage to the Fifth Round via this route.
Motherwell avoided a cup upset as the in-form Tawanda Maswanhise scored the only goal of the game in a dominant 1-0 victory against Ross County.
Partick Thistle looked to be cruising through against Montrose after a Tony Watt double but they were given a brief late scare as Logan Chalmers was sent off and Tommy North pulled a goal back before Ricco Diack sealed the win late on.
On a dramatic Scottish Cup Saturday there was still time for another upset in the day's late kick off as John McGlynn's Falkirk defeated Premiership leaders Hearts in the day's fifth penalty shoot-out.
The sides traded goals in a breathless second half, with Ben Parkinson's close range strike cancelled out by a Lawrence Shankland penalty.
And it was Parkinson who had the decisive moment in the shoot-out, firing home the winning spot-kick after Elton Kabangu had missed for the hosts.
After the excitement of Saturday, Sunday was a more straightforward affair, with Aberdeen securing their progress with a 1-0 victory over Raith Rovers at Pittodrie. Centre-back Jack Milne scored his first Dons goal to seal the holders' progress, with Raith struggling to carve out much in the way of clear-cut opportunities.
Sunday's second match saw Auchinleck Talbot, of the sixth tier, host Celtic - the most successful side in the history of the competition. Despite the gulf in league places, the match proved to be competitive, with Celtic dominating possession but struggling to carve Talbot open.
It took the Hoops over half an hour to break the deadlock, with Johnny Kenny poking home after good work by Luke McCowan. Kenny was denied a second by the offside flag and Auchinleck stayed in the game all the way until the dying moments when Sebastian Tounekti curled home a second.
There was one more match still to be played, with Stranraer hosting Queen's Park on Tuesday evening after their match was postponed on Saturday.
Aidan Connolly gave the Spiders an early lead but Stranraer hit back in the second half through Dom Plank. Remarkably, this tie was the sixth of the weekend to go all the way to spot-kicks, with Stranraer eventually prevailing 6-5.
Scottish Gas Men's Scottish Cup Fourth Round Results
Airdrieonians 3-3 Arbroath (Airdrieonians win 4-2 on penalties)
Auchinleck Talbot 0-2 Celtic
Camelon Juniors 1-3 Elgin City
Dunfermline Athletic 1-0 Hibernian
Rangers 5-0 Annan Athletic
Stranraer 1-1 Queen's Park (Stranraer win 6-5 on penalties)