が必要だった

was needed

→ が
phrase Uncommon #14,591
was needed Follows a noun to say that it was needed or necessary.
JA: その仕事にはもっと時間が必要だった。
EN: That job needed more time.

どうしてトムはそれが必要だったの?

Why did Tom need that?

彼らには信頼できる人が必要だった。

They needed someone they could trust.

なんでナイフが必要だったの?

Why did you need a knife?

なんでトムはハンマーが必要だったの?

Why did Tom need a hammer?

大規模な作戦が必要だったが知事は選挙前に 市民を犠牲にしたくない

A large-scale operation was necessary, but the governor didn’t want to sacrifice civilians before the election.

— エリート・スクワッド ブラジル特殊部隊BOPE (2010)

時間が必要だったんだ。

I needed some time.

それを飲んだ後は、 自転車に乗るときは注意が必要だった

After drinking it, I had to be careful when riding my bicycle.

— 親切なクムジャさん (2005)

叔父に知らせることが必要だったか。

Did you need to tell your uncle?

俺は二か月前に金が必要だったんだ!

I needed money two months ago!

彼女にはどうしてもその金が必要だった。

She absolutely needed that money.

私には金が必要だった。

I needed money.

現金が必要だった。

I needed cash.

トムには休養が必要だった。

Tom needed some rest.

彼女には自分の気持ちをわかってくれる人が必要だった。

She needed someone who understood her feelings.

駅に行くのにタクシーが必要だった。

I needed a taxi to get to the station.