Castel dell'Ovo is a seaside castle located on the former island of Megaride, now a peninsula, on the gulf of Naples in Italy. The castle's name comes from a legend about the Roman poet Virgil, who had a reputation in medieval times as a great sorcerer. In the legend, Virgil put a magical egg into the foundations to support the fortifications.