Complex sentence: The Romans attacked Sparta when the parley ended but the Spartans withstood the initial allied assualts but Nabis agreed to surrender the city to the Romans.
Split into simpler sentences: The Romans attacked Sparta when the parley ended but the Spartans withstood the initial allied assualts. Nabis, however, agreed to surrender the city to the Romans.