そこで
其処で
sokode

Conjunction

1. so; accordingly; now; then; thereupon; therefore

Usually Written in Kana
最終さいしゅう電車でんしゃおくれてしまいました。そこで、家いえまでずっとあるくはめになりました。
saishūdenshani noriokurete shimaimashita. sokode iemade zutto aruku hameni narimashita.
I missed the last train, so I had to walk all the way home.
列車れっしゃ満員まんいんだった。そこで彼女かのじょとうしゃ旅行りょこうせねばならなかったし、ずっとっていなければならなかった。
resshawa man'indatta. sokode kanojowa nitōshade ryokō seneba naranakattashi zutto tatte inakereba naranakatta.
The train was full, so she was obliged to travel second-class, and had to stand all the way.