when he/it arrived
Estaba viendo la televisión cuando llegó Tomás.
I was watching television when Tomás arrived.
Para cuando llegó al cañón de su arma, costó una libra.
By the time it reached the barrel of his gun, it cost a pound.
— RRR (2022)
Cuando llegó la policía los ladrones ya se habían ido de la casa.
By the time the police arrived, the thieves had already left the house.
Estuve aquí cuando llegó la multitud.
I was here when the crowd arrived.
Tom y Mary estaban a punto de irse cuando llegó John.
Tom and Mary were about to leave when John arrived.
Apenas habíamos esperado cinco minutos cuando llegó el bus.
We had barely waited five minutes when the bus arrived.
Cuando llegó a las ligas mayores, sólo jugó una entrada.
When he reached the major leagues, he played only one inning.
— Campo de sueños (1989)
La de la puerta parecía amable cuando llegó.
The woman at the door seemed friendly when she arrived.
— La vida es bella (1997)