ему нужно было

he needed to

→ он
phrase Uncommon #14,796
he needed to Used with an infinitive to say that he needed to do something in the past. With a noun, нужно changes form to agree with the noun, as in «ему нужна была помощь» (“he needed help”).
RU: Ему нужно было позвонить врачу.
EN: He needed to call the doctor.

Том сделал не всё, что ему нужно было сделать.

Tom didn’t do everything he needed to do.

Том убеждён, что ему нужно было это сделать.

Tom is convinced that he had to do it.

Что ему нужно было?

What did he need?

Ему нужно было где-то остановиться на пару недель.

He needed somewhere to stay for a couple of weeks.

— Преследователь (2008)

Тогда зачем ему нужно было столько денег?

Then why did he need so much money?

— Сочувствие госпоже Месть (2005)