The Republican who saved civil rights