In Naples, in the 'Castel dell'Ovo' (Castle of the Egg), Romulus Augustulus, the last Emperor of the Western Roman Empire, was imprisoned after being deposed by the Goths in 476. In the sixth century Naples was conquered by the Byzantines during the attempt of Justinian I to recreate the Roman Empire, and was one of the last duchies to fall in Norman hands in 1039, as they founded the Kingdom of Sicily.
Frederick II Hohenstaufen founded its university in 1224. In 1266 Naples and the kingdom of Sicily were assigned by Pope Clement IV to Charles of Anjou, who moved the capital from Palermo to Naples. In 1284 the kingdom was split in two parts, with an Aragonese king ruling the island of Sicily and the Angevin king ruling the mainland portion; while both kingdoms officially called themselves the Kingdom of Sicily, the mainland portion covering the southern part of the Italian peninsula was commonly referred to as the Kingdom of Naples.
The two kingdoms were united under Spanish rule from 1501 until 1715 then for a short time Naples became Austrian until 1734, when enlightened Bourbon monarch Charles (later known as Charles III of Spain) became the king of both Sicilies. In 1799, a Jacobin revolution (backed by the French Army) gave birth to a short-lived republic (January - June 1799) to give place to a Napoleonic monarchy. Then in 1816 the kingdom of Two Sicilies was reestablished, and finally in 1860 the kingdom was conquered by Garibaldi's army and was handed over to the king of Sardinia.
On April 7, 1906 Mount Vesuvius erupted, devastating Boscotrecase and seriously damaging Ottaviano. In 1944 the activity closed with a spectacular and devastating eruption; images from this eruption were used in the film The War of the Worlds.