The Castle of Rocca Cilento likely dates back to the late 9th century, when the Lombard gastaldato of Lucania began to be divided into counties and lordships, granted in vassalage to members of the Salernitan dynasty. This period is marked by the phenomenon of incastellamento (castle-building), triggered by waves of invasions, mostly by Hungarians and Saracens.