what is the purpose of gerrymandering

A to dilute the voting power of the opposing party
B to increase the number of senator from a state
C to ensure that each district has an equal population
D to elect a nominee for each party

A to dilute the voting power of the opposing party