Within a few decades the Second International intertwined itself with the bourgeois democratic regime became in fact a part of it and is rotting away together with it

Please fix the punctuation.
Within a few decades the Second International intertwined itself with the bourgeois democratic regime, became, in fact, a part of it, and is rotting away together with it.