Complex sentence: Locals carted away stones for construction over the years, and by 1900 the walls were gone.
Split into simpler sentences: Locals carted away stones for construction over the years. By 1900 the walls were gone.