Задание

When I woke up, the sun _____________. But later it started to rain.

was shining

shone

had been shining

had shone