tinha acabado

had finished

→ ter
phrase Uncommon #9,515
had finished Depending on context, it can also mean “had ended.” With de followed by an infinitive, the phrase means “had just” done something.
PO: Quando cheguei, o filme já tinha acabado.
EN: When I arrived, the film had already ended.

Eu mal tinha sentado no banco, quando eu achei que tinha acabado de ser pintado.

I had barely sat down on the bench when I realized I had just been painted.

Ele tinha acabado de sair da prisão.

He had just been released from prison.

— Cães Danados (1992)

Ninguém nem percebeu que a porra do mundo tinha acabado.

Nobody even realized that the fucking world had ended.

— Boa Sorte, Diverte-te, Não Morras (2026)

O Tomás não acreditava no que tinha acabado de acontecer.

Tomás couldn't believe what had just happened.

A guerra tinha acabado.

The war was over.

Eu não sabia que tinha acabado.

I didn’t know it was over.

Tinha acabado os meus livros e exames de cidadania no ano passado.

I’d finished my books and citizenship exams last year.

Fadil tinha acabado de fazer quarenta anos.

Fadil had just turned forty.

Tinha acabado de voltar, depois de dez anos morando fora do país.

I had just returned after living abroad for ten years.

— E A Tua Mãe Também (2001)

E a gasolina tinha acabado.

And the gasoline had run out.

— O Sacrifício (1986)

Pensei que tinha acabado.

I thought it was over.

— Esposas e Concubinas (1991)

E eu tinha acabado de escrever.

And I had just finished writing.

— Laurence para Sempre (2012)

Eu tinha acabado de chegar quando ela partiu.

I had just arrived when she left.

Isso de "código vermelho" não tinha acabado?

Wasn’t this whole “code red” thing over?

— Uma Questão de Honra (1992)

A lua de mel da Layla tinha acabado.

Layla's honeymoon was over.