Following the Punic Wars, Sabratha became part of the short-lived Numidian kingdom of Massinissa before this was annexed to the Roman Republic as the province of Africa Nova in the 1st century BC. It was subsequently romanized and rebuilt in the 2nd and 3rd centuriesCE. The Emperor Septimius Severus was born nearby in Leptis Magna, and Sabratha reached its monumental peak during the rule of the Severans, when it nearly doubled in size. The city was badly damaged by earthquakes during the 4th century, particularly the quake of 365. It fell under control of the Vandal kingdom in the 5th century, with large parts of the city being abandoned. It enjoyed a small revival under Byzantine rule, when multiple churches and a defensive wall (although only enclosing a small portion of the city) were erected. The town was site of a bishopric. Within a hundred years of the Muslim invasion of the Maghreb, trade had shifted to other ports and Sabratha dwindled to a village.