Original: The fights for the town and its environs lasted for several days and took the lives of almost 5,000 Soviet soldiers.
Simplified: The fights for the city lasted for a few days and killed almost 5,000 Soviet soldiers.