Warren served as Thomas E. Dewey's running mate in the 1948 presidential election, but Dewey lost the election to incumbent President Harry S. Truman. Warren sought the Republican nomination in the 1952 presidential election, but the party nominated General Dwight D. Eisenhower. After Eisenhower won election as president, he appointed Warren as Chief Justice. A series of rulings made by the Warren Court in the 1950s led directly to the decline of McCarthyism. Warren helped arrange a unanimous decision in "Brown v. Board of Education" (1954), which ruled that racial segregation in public schools was unconstitutional. After "Brown", the Warren Court would continue to issue rulings that helped bring an end to the segregationist Jim Crow laws that were prevalent throughout the South. In "Heart of Atlanta Motel, Inc. v. United States" (1964), the Court upheld the Civil Rights Act of 1964, a federal law that prohibits racial segregation in public institutions and public accommodations.