sentence1: The 26 richly-decorated salons (just a fraction of the Medici residence) are named after the themes of their 17th-century frescoes Venus, Hercules, Prometheus, etc.
sentence2: The 26 richly-decorated salons were names due to the influence of 17th century religious beliefs.