foi aí que

that's when

→ ser
phrase Rare #22,057
that's when Can also mean “that's where” when referring to a place.
PO: Foi aí que percebi o erro.
EN: That's when I realized the mistake.

Foi aí que ele me cortou.

That’s when he cut me off.

— Sobre Meninos e Lobos (2003)

E foi aí que ele a beijou.

And that's when he kissed her.

Foi aí que compreendi o que senti no dia em que ele nasceu.

That’s when I understood what I felt on the day he was born.

— Não Conte a Ninguém (2006)