Aberdeen 4-2 Hamilton Academical
Ayr United 1-2 Dundee United
Dunfermline Athletic 10-0 Montrose
Falkirk P-P St Mirren
Hibernian 2-2 (2-3 AET) Celtic
Livingston P-P Cowdenbeath
Partick Thistle 0-6 Inverness Caledonian Thistle
Rangers 1-5 Kilmarnock

The draw for the fifth round will take place at 12.15pm tomorrow afternoon.