Motherwell will face Hibernian next month for a place in the Scottish Cup semi-finals.
The draw for the last eight was made this evening and the Steelmen avoided the Old Firm.
Their reward for knocking Aberdeen out of the competition on Saturday is a home tie against the Hibees.
Graham Alexander's side booked their place in the quarter-finals with a 2-1 win over the Dons, where goals from Kevin van Veen and Connor Shields helped the Steelmen come from behind to win at Fir Park.
They now face Shaun Maloney's men on the weekend of March 12/13.
Fixtures dates and TV details will be announced in due course.
The full quarter-final draw is as follows:
Hearts v St Mirren
Dundee United v Celtic
Dundee v Rangers
Motherwell v Hibs
Follow Lanarkshire Live Sport on Twitter via @LanLiveSport, like us on Facebook or find us on Instagram for the latest sports news, pictures and video.