I quoted the following sentence from The Guardian.
Then, before any significant change could be made to the Cuban system, the Soviet Union imploded, and with it went the extensive economic network that it had maintained.
How could the preposition "with" be followed by "it went the extensive economic network.."? Is there any inversion of subject (it) and verb (went) so that we can understand the above sentence as follows?
[ 1 ] The Soviet Union imploded before any significant change could made to the Cuban System.
[ 2 ] The extensive economic network went with it (the implosion of the Soviet Union).