ことが分かった

found out that

→ こと
phrase Uncommon #14,235
found out that Follows a clause to say that someone discovered or realized the fact described by it.
JA: 駅に着いてから、切符を忘れたことが分かった。
EN: I found out after arriving at the station that I had forgotten my ticket.

私は彼が正しいことが分かった。

I found out that he was right.

彼はずっと前に死んでいることが分かった。

We found out that he had died a long time ago.

噂は結局本当であることが分かった。

The rumor turned out to be true after all.

彼は間違いをしたことが分かった。

He realized that he had made a mistake.

そのうわさは根も葉もないことが分かった。

The rumor turned out to be completely unfounded.

どうして貴様俺がここにいることが分かった

How the hell did you know I was here?

— Sanjuro (1962)

その問題はやってみたら易しいことが分かった。

I found the problem was easy when I tried it.

彼は正直であることが分かった。

It turned out that he was honest.

私は転んだ瞬間に手首を折ったことが分かった。

The moment I fell, I knew I had broken my wrist.