U.S. political divisions reach far beyond Washington policy to fall along economic, cultural, geographical and educational lines. But more importantly, the polarization predates the rise of President Donald Trump, a new Wall Street Journal/NBC News survey has found.

The wide gulf is visible in an array of issues and attitudes: Democrats are twice as likely to say they never go to church as are Republicans, and they are eight times as likely to favor action on climate change. One-third of Republicans say they support the National Rifle Association, while just 4% of Democrats do. More than three-quarters of Democrats, but less than one-third of Republicans, said they felt comfortable with societal changes that have made the U.S. more diverse, the poll revealed.

Read:Trump adds to uncertainty, says he may ‘revisit’ DACA in 6 months

“Our political compass is totally dominating our economic and world views about the country,” GOP pollster Bill McInturff, who conducted the survey with Democratic pollster Fred Yang, told the Wall Street Journal. “Political polarization is not a new thing. The level under Trump is the logical outcome of a generation-long trend.”

Rural Americans and people without a four-year college degree are notably more pessimistic about the economy and more conservative on social issues. Those groups make up an increasingly large share of the GOP.

Trump Administration Ends DACA Program

One measure of how much more polarized the electorate is than a generation ago can be found in views of the president. Eight months into the 1950s presidency of Republican Dwight Eisenhower, 60% of Democrats approved of the job he was doing. That level of cross-party support for a new president remained above 40% until Bill Clinton, when only 20% of Republicans approved of his performance after eight months in 1993. For Barack Obama, Republican support dropped to 16% at this point in his presidency in 2009.

Trump’s job-approval rating among Americans overall has remained in recent months at about 40%, but just 8% of Democrats approve of the job he is doing, the survey found. By contrast, 80% of Republicans approve.

In August 2014, 88% of Republicans said they weren’t confident that life for their children’s generation would be better than their own, a gloomy view of a central element of the American dream. Eight months into the Trump presidency, just 46% of Republicans say they lack confidence in their children’s future—a 42-point swing that is more dramatic than improvements in the economy would seem to justify.

Commentary: Top Democrats still put money before voters in campaigning

Views of gun rights used to be less partisan: Asked if they were concerned that the government would go too far in restricting gun-ownership rights or, alternatively, that the government wouldn’t do enough, Republicans in 1995 were about evenly split. Democrats were divided 26% to 67%, the WSJ/NBC poll found.

Now, 77% of Republicans say they are concerned the government would go too far, and just 18% worry the government wouldn’t do enough. Democratic opinion is the mirror image, 24% to 71%.

Views of immigration have also become more partisan. In an April 2005 poll that asked whether immigration strengthened or weakened the U.S., a plurality of 48% said it weakened the nation, with 41% saying immigration strengthened the country.

Now, a substantial majority of 64% view immigration as strengthening the country, while 28% say it weakens the U.S. The change is due almost entirely to a sharp shift in Democrats’ views. In 2005, just 45% of Democrats said the country was strengthened by immigration; now the share is 81%.

Democrats also are now more inclined to see globalization as beneficial, compared with 20 years ago, when both parties had largely similar views of the matter.

Some 43% of rural residents gave a high rating to their local economy’s health, compared with 57% of urban dwellers, the poll found. Among people without a four-year college degree, only 47% viewed the economy in their area as good or excellent, compared with two-thirds of people with a degree. Both groups have been moving from the Democratic Party to the GOP.

Among people without a four-year college degree, a plurality of 44% identified as Democrats in 2010. Now, only 36% do. Among those who are college graduates, just 36% now identify as Republican, versus 41% in 2010.

Fully 80% of those surveyed saw the country as mainly or totally divided. But Democrats and independents tended to see the division as rooted in economics—the income gap between the rich and the poor. Republicans saw the split as political, with people divided based on their party affiliation and the media outlets they prefer.

The Journal/NBC News poll surveyed 1,200 people from August 5-9. The margin of error for the full sample was plus or minus 2.82 percentage points.