when (someone) sawUsed to describe something that happened when someone saw something or someone. The subject is often understood from context, and を marks what was seen.
JA: その写真を見たとき、昔の友達を思い出した。
EN: When I saw that photo, I remembered an old friend.