Complex sentence: It was built on a marshy pool of mud and soil and due to water-logging in the soils several attempts were made at creating a drainage area behind the church, but with no avail.
Split into simpler sentences: It was built on a marshy pool of mud and soil. Due to water-logging in the soils, several attempts were made at creating a drainage area behind the church, but with no avail.