Gerrymandering in the United States has been practiced since the founding of the country to strengthen the power of particular political interests within legislative bodies. Partisan gerrymandering is commonly used to increase the power of a political party. In some instances, political parties collude to protect incumbents by engaging in bipartisan gerrymandering. After racial minorities were enfranchised, some jurisdictions engaged in racial gerrymandering to weaken the political power of racial minority voters, while others engaged in racial gerrymandering to strengthen the power of minority voters. Throughout the 20th century, courts have grappled with the legality of these types of gerrymandering and have devised different standards for the different types of gerrymandering. Various legal and political remedies have emerged to prevent gerrymandering, including court-ordered redistricting plans, redistricting commissions, and alternative voting systems that do not depend on drawing boundaries for single-member electoral districts.
Partisan gerrymandering, which refers to redistricting that favors one political party, has a long tradition in the United States that precedes the 1789 election of the First U.S. Congress. In 1788, Patrick Henry and his Anti-Federalist allies were in control of the Virginia House of Delegates. They drew the boundaries of Virginia's 5th congressional district in an unsuccessful attempt to keep James Madison out of the U.S. House of Representatives.
The word gerrymander (originally written "Gerry-mander") was used for the first time in the Boston Gazette (not to be confused with the Boston Gazette) on 26 March 1812. The word was created in reaction to a redrawing of Massachusetts state senate election districts under the then-governor Elbridge Gerry (pronounced /ˈɡɛri/; 1744–1814). In 1812, Governor Gerry signed a bill that redistricted Massachusetts to benefit his Democratic-Republican Party. When mapped, one of the contorted districts to the north of Boston was said to resemble the shape of a salamander. Gerrymander is a portmanteau of the governor's last name and the word salamander. The redistricting was a notable success. In the 1812 election, both the Massachusetts House and governorship were won by Federalists by a comfortable margin (costing Gerry his position), but the senate remained firmly in Democratic-Republican hands.