foi a primeira vez que

it was the first time that

→ ser
phrase Rare #22,415
it was the first time that The subject is often omitted, so the phrase can also mean “was the first time that” or appear in a question such as “When was the first time that…?”
PO: Foi a primeira vez que visitei Lisboa.
EN: It was the first time I visited Lisbon.

Quando foi a primeira vez que isso aconteceu?

When was the first time this happened?

Foi a primeira vez que ouvi Keith rir.

It was the first time I heard Keith laugh.

Foi a primeira vez que me elogiou por manobrar o meu próprio navio.

It was the first time he praised me for maneuvering my own ship.

Mas não foi a primeira vez que ouviu esse número.

But it wasn't the first time he'd heard that number.

— The Rip: Ponto de Rutura (2026)

Não foi a primeira vez que o vi.

It wasn't the first time I'd seen him.

— Dor e Glória (2019)

Quando foi a primeira vez que soube isso?

When did you first find out about this?

— O Homem da Terra (2007)

Foi a primeira vez que me escreveram uma carta de amor.

It was the first time someone had written me a love letter.

— Aquele Querido Mês de Agosto (2008)

Foi a primeira vez que ouvi Tom cantar.

It was the first time I heard Tom sing.

Como foi a primeira vez que voou?

What was it like the first time you flew?

— Kiki - A Aprendiz de Feiticeira (1989)