The civil rights movement defined the changing nature of political parties

To what extent has the civil rights movement defined the changing nature of political parties in the U.S.?