then they walked to the oldest part of the building , which held the gallery of paintings collected over the centuries by his ancestors , which included works by raphael , titian , rembrandt , caravaggio and el greco , among others .