Complex sentence: It was the job of the gong farmers to dig them out and remove the excrement, for which in the late 15th century they charged two shillings per ton of waste removed.
Split into simpler sentences: It was the job of the gong farmers to dig them out and remove the excrement. In the late 15th century they charged two shillings per ton of waste removed.