Impact of Ionospheric Ions on Magnetospheric Dynamics