it was raining when we left

Why are the windows closed? - Because it was raining when we left the house.
¿Por qué están cerradas las ventanas? - Porque llovía cuando nos fuimos de la casa.
It was raining when we left, but by the time we arrived, it was sunny.
Estaba lloviendo cuando nos fuimos, pero para cuando llegamos estaba soleado.
It was raining when we left, but the weather improved by the afternoon.
Llovía cuando salimos, pero el tiempo mejoró por la tarde.
We forgot umbrellas even though It was raining when we left.
Olvidamos paraguas aunque estaba lloviendo cuando nos fuimos.
Palabra del día
la lápida