In 1644, the castle and the territory of Nerola were yielded to the Barberini family along with the Montelibretti family and, in 1728, entered into possession of the Sciarra clan, and thence to the Lante della Rovere family, who founded the charitable institution of the Ospedale dei Pellegrini to assist travellers on the Via Salaria.