why did elbridge gerry of massachusetts redraw the congressional districts in his state?

Elbridge Gerry, then governor of Massachusetts, signed into law a redistricting plan designed to keep his political party in power in the upcoming election.