Rangers scored two stoppage time goals to beat Hearts 2-1 at Ibrox.
James Tavernier's penalty and Danilo's header secured Philippe Clement's side the win.
They're now five points adrift of leaders Celtic in the Scottish Premiership.
Advertisement
Robert McElroy reports
Elsewhere Kilmarnock moved up to fourth in the table with a 2-nil win against Aberdeen.