Complex sentence: The residential palace from the 17th century is used by the "Pestalozzischule" as a school building, having expanded it with a new building below the palace.
Split into simpler sentences: The residential palace from the 17th century is used by the "Pestalozzischule" as a school building. It was expanded with a new building below the palace.