Growth and decay of the ring current and the polar electrojets