In the early Middle Ages Naples underwent huge changes. She was able to acquire complete independence from the Byzantine Empire and to emerge as one of the major powers in southern Italy. Moreover, Naples avoided becoming part of the Frankish Empire, being subdued by the Lombards of southern Italy, and being attacked by the Muslims, who had conquered Sicily.