His liberal politics, inspired by the safety nets of the New Deal, were shaped in working-class mining country.