On the side of the castle facing the sea is the back wall of the Cappella palatina, or church of San Sebastiano or that of Santa Barbara, the only surviving element of the 14th century Anjevin castle. Although was damaged in the earthquake of 1456, the chapel was later restored. The façade on the inner courtyard has a Renaissance portal with reliefs by Andrea dell'Aquila and by Francesco Laurana and a rose window, rebuilt in the Aragonese period by the Catalan Matteo Forcimanya to replace the one of the 14th-century destroyed by an earthquake.