當我回家時,我遇見了他。

I met him while I was coming home.

Source: Tatoeba

Sentence Composition