Tenía que

had to

→ tener
phrase Rare #53,419
had to In exclamations, it can express frustration or inevitability, as in “It had to be…!”
SP: Tenía que salir temprano para llegar a tiempo.
EN: I had to leave early to arrive on time.

¡Tenía que ser Himmler!

It had to be Himmler!

— La Caída (2004)

¿Tenía que ocurrir algo?

Was something supposed to happen?

— Roma città aperta (1945)

¡Tenía que ser mi suerte!

Just my luck!

— Вор (1997)

¡Tenía que ser un mal año!

It had to be a bad year!

— La Linterna Roja (1991)