Complex sentence: The Varshney community is primarily based in western Uttar Pradesh, but many have migrated around the world over the past few centuries, gradually moving into trading.
Split into simpler sentences: The Varshney community is primarily based in western Uttar Pradesh, but many have migrated around the world. For the past few centuries, gradually moved into trading.