Carl McHugh scored a spectacular late winner as Motherwell defeated Hearts 2-1 at Fir Park to reach the Scottish Cup semi-finals.
Curtis Main's opener was cancelled out by a Kyle Lafferty penalty but McHugh struck from outside the box with four minutes left. In Sunday's later game, a Jason Cummings hat-trick helped Rangers see off Falkirk 4-1 at Ibrox.
Holders Celtic booked their last-four place by beating Morton 3-0 at Parkhead on Saturday while Aberdeen and Kilmarnock will replay a week on Tuesday after a 1-1 draw at Pittodrie.
Scottish Cup semi-final draw
Celtic v Rangers
Motherwell v Aberdeen or Kilmarnock
Ties to be played on the weekend of April 14/15