Complex sentence: A mud wall surrounds the modern town with more affluent residential areas lying outside the wall.
Split into simpler sentences: A mud wall surrounds the modern town. More affluent residential areas lie outside the wall.