Complex sentence: Mazar-e Sharif serves as the major trading center in northern Afghanistan, which is the first city to connect itself by rail with a neighboring country.
Split into simpler sentences: Mazar-e Sharif serves as the major trading center in northern Afghanistan. It became the first city in Afghanistan to connect itself by rail with a neighboring country.