Complex sentence: Throughout the ages the building served a variety of roles, as well as took part in heavy fighting during the Warsaw Insurrection of 1794.
Split into simpler sentences: Throughout the ages the building served a variety of roles. It was the scene of heavy fighting during the Warsaw Insurrection of 1794.