しようとしていた

was about to do; was trying to do

→ 為る
phrase Rare #22,900
was about to do; was trying to do The meaning depends on context: it can describe an action someone was on the verge of doing or an attempt they were making.
JA: 彼はまさに最後の決断をしようとしていた。
EN: He was just about to make the final decision.

彼はまさに最後の決断をしようとしていた。

He was just about to make the final decision.

彼は物理学の実験をしようとしていた。

He was about to conduct a physics experiment.

バスは発車しようとしていた。

The bus was about to leave.

アーサーは、まったく別の世界の見方を、私に説明しようとしていた。

Arthur was trying to explain a completely different way of looking at the world to me.

撃たれる前に「自殺」しようとしていたそうよね?

You were going to “kill yourself” before they shot you, right?

— イノセンス (2004)

トムはメアリーが何をしようとしていたのかを疑問に思っていた。

Tom wondered what Mary was trying to do.

船はまさに目的地に到着しようとしていた。

The ship was just about to reach its destination.