I came across a sentence while reading a book and couldn't figure out both the meaning and the structure of it at all. The sentence is:
"But, as I was to learn was the case with so much in Iran, everybody just turned a blind eye."
What's confusing me is the first part, "as I was to learn was the case with so much in Iran." I guess it's the inversion of " With so much the case in Iran as I was to learn." Am I right?