"Gerrymandering" was started in 1812 by Elbridge Gerry, hence the name. He was the Governor of Massachusetts who signed the state redistricting bill approving oddly shaped districts to favor the Democrat party, which he became famous for. Later, he became James Madison's Vice President. And of course, Elbridge Gerry was a Democrat!