one had to
Había que seguir al camión con los Mercedes.
They had to follow the truck carrying the Mercedes.
— Taxi Express (1998)
Apenas tuvimos tiempo para hacer todo lo que había que hacer.
We barely had time to do everything that needed to be done.
Tarde o temprano había que volver a Madrid.
Sooner or later we had to return to Madrid.
— Dolor y gloria (2019)
A decision had to be made.
Ahora había que contar historias sobre el tiempo que habían estado separados.
Now they had to tell stories about the time they had been apart.
— Avatar: El sentido del agua (2022)