In the Middle Ages Ternopil stood at the intersection of important trade routes becoming an important center of commerce

What is the correctly punctuated version of this sentence?
In the Middle Ages, Ternopil stood at the intersection of important trade routes, becoming an important center of commerce.