eles haviam

had, there were, there existed

ɐ v i ɐ̃ w̃ → haver
hav there be, exist + iam they imperfect
auxiliary · 3rd-person plural, imperfect tense Uncommon #13,148
had Used with a past participle to form the pluperfect; less common in everyday speech than tinham.
PO: Eles já haviam saído quando chegámos.
EN: They had already left when we arrived.
Conjugation of haver
Indicative imperfect
SingularPlural
First — havíamos
Third — haviam

Ele não parava de pensar nos dias maravilhosos que haviam passado juntos.

He couldn't stop thinking about the wonderful days they had spent together.

No Boca do Lixo, acreditam que haviam visto algo no céu.

In Boca do Lixo, they believe they saw something in the sky.

— O Bandido da Luz Vermelha (1968)

Logo percebeu que lhe haviam roubado.

He soon realized he had been robbed.

Quando ele se levantou, a jovem e a cabra já haviam desaparecido.

When he stood up, the young woman and the goat had already disappeared.

Tom e Mary conversaram sobre onde eles haviam visitado.

Tom and Mary talked about where they had visited.

Todos haviam ido em grupos, menos eu.

Everyone had gone in groups, except me.

— Em Chamas (2018)

Em um ano, seis dos nossos irmãos haviam morrido.

Within a year, six of our brothers had died.

— Infernal Affairs - Infiltrados (2002)

Eles já haviam tentado aquela abordagem sem sucesso.

They had already tried that approach without success.

Os cientistas já haviam previsto esse cenário há anos.

Scientists had predicted this scenario years ago.

Eles haviam construído estradas e pontes.

They had built roads and bridges.

Tom lembrava que Mary e John haviam tentado matá-lo.

Tom remembered that Mary and John had tried to kill him.

Haviam vencido na noite anterior.

They had won the previous night.

— Cães Danados (1992)

Não haviam passado mais de duas horas.

No more than two hours had passed.

Tom e Mary conversaram sobre onde haviam visitado.

Tom and Mary talked about the places they had visited.

Vocês já haviam provado uma sopa assim tão boa?

Have you ever tasted soup this good?

Eles disseram que haviam sido tolos.

They said they had been fools.

verb · 3rd-person plural, imperfect tense Rare #20,133
there were, there existed In standard European Portuguese, impersonal haver stays singular: havia. Using haviam with this meaning is nonstandard.
PO: Naquela altura, haviam poucas casas nesta rua.
EN: At that time, there were few houses on this street.
had Used with a plural subject as an auxiliary, before a past participle.
PO: Eles já haviam saído quando chegámos.
EN: They had already left when we arrived.
Conjugation of haver
Indicative imperfect
SingularPlural
First havia —
Third havia haviam

Haviam dois acidentes na estrada.

There were two accidents on the road.

— A Pele Onde Eu Vivo (2011)

Sim, haviam pessoas por perto.

Yes, there were people nearby.

— Ladrões de Bicicletas (1948)

Não haviam testemunhas no Tribunal Militar.

There were no witnesses in the Military Court.

— O Bom, O Mau e o Vilão (1966)

Haviam inúmeras estrelas no céu.

There were countless stars in the sky.

Haviam muitos outros.

There were many others.

Mas ele foi libertado, já que não haviam evidências suficientes.

But he was released, as there was not enough evidence.

— O Caçador (2008)

Uma vez haviam duas pessoas Santa e Banta.

Once upon a time, there were two people, Santa and Banta.

— Queen (2014)

Haviam muitas outras.

There were many others.

Haviam trinta pessoas presentes na reunião.

There were thirty people present at the meeting.

Sounds similar to