Complex sentence: Schloss Braunfels was built anew out of materials that were still on hand, while the town was given a regular marketplace, still preserved today and lying before the town wall.
Split into simpler sentences: Schloss Braunfels was rebuilt out of materials that were still on hand. The town was given a regular marketplace, which is still preserved today and lies before the town wall.