In 238 BC, taking advantage of Carthage having to face a rebellion of her mercenaries (the Mercenary War) after the First Punic War (264–241 BC), the Romans annexed Corsica and Sardinia from the Carthaginians. The two islands became the province of Corsica and Sardinia. They were not given a provincial governor until 227 BC. The Romans faced many rebellions, and it took them many years to pacify both islands. The existing coastal cities were enlarged and embellished, and Roman colonies such as Turris Lybissonis and Feronia were founded. These were populated by Roman immigrants. The Roman military occupation brought the Nuragic civilization to an end, except for the mountainous interior of the island, which the Romans called "Barbaria", meaning "Barbarian land". Roman rule in Sardinia lasted 694 years, during which time the province was an important source of grain for the capital. Latin came to be the dominant spoken language during this period, though Roman culture was slower to take hold, and Roman rule was often contested by the Sardinian tribes from the mountainous regions.