Original: Eventually the development of separate, underground water and sewage systems eliminated open sewage ditches and cesspools.
Simplified: Eventually the development of separate, underground water and sewage systems got rid of open sewage ditches and cesspools.