After an action potential occurs, repolarization of a neuron is caused mainly by which of the following?
A) Influx of sodium ions
B) Outflux of potassium ions
C) Influx of chloride ions
D) Outflux of calcium ions