Where does this definition of such was the case with come from?
This entry for such was the case with is sourced from Main Dictionary, one of the dictionaries and corpora merged into Lughet.
What is Lughet?
Lughet is a free trilingual dictionary covering nearly five million entries across Uyghur, Chinese, and English, drawn from more than ten source dictionaries and corpora.