と思ったんだ

I thought...

→ と
phrase Rare #27,763
I thought... Expresses a past thought or realization, often with an explanatory or emphatic nuance. んだ is the informal form of のだ; the subject is determined by context.
JA: もう帰ったと思ったんだ。
EN: I thought you had already gone home.

僕はハグしたかったけどもししたら君を恥ずかしくさせると思ったんだ

I wanted to hug you, but I thought it might embarrass you if I did.

全員が集まったと思ったんだ

I thought everyone had arrived.

— REC / レック (2007)

嘘ついてると思ったんだ

I thought you were lying.

— 罪人たち (2025)

会えると思ったんだ

I thought I’d get to see you.

— 天気の子 (2019)

トムが言うにはメアリー嘘ついてると思ったんだって

Tom says he thought Mary was lying.