A political analysis of local struggles for racial equality