Campania was a full-fledged part of the Roman Republic by the end of the 4th century BC, valued for its pastures and rich countryside. Naples, with its Greek language and customs, made it a centre of Hellenistic culture for the Romans, creating the first traces of Greco-Roman culture. During the Pyrrhic War in 275 BC, the Battle of Beneventum took place in Campania in the Samnite city of Maleventum, in which the Romans, led by the consul Curius Dentatus, were victorious. They renamed it Beneventum (modern day Benevento), which grew in stature until it was second only to Capua in southern Italy. During the Second Punic War in 216 BC, Capua, in a bid for equality with Rome, allied with Carthage. The rebellious Capuans were isolated from the rest of Campania, which remained allies of Rome. Naples resisted Hannibal due to the imposing walls. Capua was eventually starved into submission in the Roman retaking of 211 BC, and the Romans were victorious.