と知って

knowing that

→ と
phrase Common #6,175
knowing that と marks the information being known, and 知って is the te-form of 知る (to know). It can connect this idea to a result or another action, often meaning “knowing that...” or “after finding out that...”
JA: 彼が無事だと知って、安心しました。
EN: I was relieved to know that he was safe.

近所まで来てあなたがいると知ってちょっと寄った

I was in the neighborhood and found out you were here, so I thought I’d drop by.

— ビッグ・シック ぼくたちの大いなる目ざめ (2017)

ロキシー赤の他人家に迎えると知ってそれが離婚の原因

When I found out Roxy was bringing a complete stranger into the house... Was that what caused the divorce?

— シカゴ (2002)

私は手術成功したと知って安心しました

I was relieved to learn that the surgery was successful.

ジュリー明日やってくると知って僕は驚いて倒れそうになった

When I found out Julie was coming tomorrow, I was so surprised I nearly fainted.

僕がいると知ってあの学校に

Did you go to that school knowing I was there?

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

あんたがスパイと知って彼はそう思ったのか

Did he think that after finding out you were a spy?

— イングリッシュ・ペイシェント (1996)

自分が勝ったと知って驚いた

I was surprised to find out that I had won.