當我到達時,天正下著雨。

When I arrived, it was raining.

Source: Tatoeba

Sentence Composition