You almost have it: there's a (finite) series for G all of which factors are finite cyclic of prime order. But then, since a finite extension of a finite group is itself finite, we see G must be finite...(if is the cyclic series, then is finite, so is finite since are finite, etc...)

Tonio