部屋にいた

was in the room

→ 部屋
phrase Rare #41,407
was in the room A past-tense phrase; に indicates location, and いた is the past form of いる, used for people and animals.
JA: 彼はずっと部屋にいた。
EN: He was in the room the whole time.

部屋にいたほかの人たちまで、こちらを見つめるほどだった。

Even the other people in the room stared at us.

僕は部屋にいた

I was in my room.

— 落下の解剖学 (2023)

部屋にいたんだ

I was in my room.

— どん底作家の人生に幸あれ! (2019)

どうしてトムが私の部屋にいたのかしら?

I wonder why Tom was in my room.