when ... arrived
Cuando llegó Marcus yo dormía.
When Marcus arrived I was asleep.
Sí, Joan, pero tan sólo un momento cuando llegó hace pocos minutos.
Yes, Joan, but only for a moment, since he arrived a few minutes ago.
— Estallido mortal (1981)
Estaban a punto de salir cuando llegó la llamada urgente.
They were about to leave when the urgent call came in.
Cuando llegó yo estaba haciendo café.
When he arrived I was making coffee.
Estuve aquí cuando llegó la multitud.
I was here when the crowd arrived.
Casi había terminado mi trabajo cuando llegó.
I had almost finished my work when he arrived.