A New York State court rightly upheld a state law requiring that prison inmates be counted in their home communities rather than where they are incarcerated. The law, passed in 2010, put an end to prison-based gerrymandering, which counted nonvoting prison inmates as “residents” to increase the population of some legislative districts. That practice artificially inflated the political power of voting residents in prison districts and diluted the voting strength of voters elsewhere.