そこで is used to connect sentences, expressing the meaning of there, then, indicating that the next action occurs at the location just mentioned.そこで、コムズを 習いました。
Verb in て form + からN4
Expresses the meaning of after doing something, then....それから、次の 場所に 行きました。