It is shown that the effect of electrostatic interactions on the liquid crystal phase transition in solutions of rodlike polyelectrolytes can be characterized by two parameters, one describing the increase of the effective diameter and the other the twisting action. The dependence of these parameters on the charge density and the salt concentration is studied both for weakly charged polyelectrolytes, for which the DebyeHucke1 approximation applies, and for highly charged polyelectrolytes, for which the full Poisson-Boltzmann equation has to be used. The isotropic-nematic phase transition cannot be described solely in terms of an effective diameter as has always been done before but one must also take the twisting effect into account. This effect, which enhances the concentrations at the transition, is particularly marked for weakly charged polyions.