in 1747, the charitable foundation also acquired from raimondo di sangro, prince of sansevero, the area above the cappella sansevero, where they built the church, based on designs of mario gioffredo. the palace and the seminary archive suffered pillaging during the napoleonic wars, and was abolished in 1820, although the charitable foundation continued to exist even to today. one wing of the palace had severe damage during the second world war.