Complex sentence: But in "The Rickshank Rickdemption", after the federation was collapsed, Jerry ends up being divorced by Beth as part of Rick's plan to make Jerry "go away" for his attempt of selling him out.
Split into simpler sentences: But in "The Rickshank Rickdemption", after the federation collapsed, Beth divorces Jerry. It is revealed that was part of Rick's plan to make Jerry "go away" for his attempt of selling him out.