WASHINGTON - OCTOBER 08:  U.S. Supreme Court members (first row L-R) Associate Justice Clarence Thomas, Associate Justice Antonin Scalia, Chief Justice John Roberts, Associate Justice Anthony Kennedy, Associate Justice Ruth Bader Ginsburg, (back row L-R) Associate Justice Sonia Sotomayor, Associate Justice Stephen Breyer, Associate Justice Samuel Alito and Associate Justice Elena Kagan pose for photographs in the East Conference Room at the Supreme Court building October 8, 2010 in Washington, DC. This is the first time in history that three women are simultaneously serving on the court.  (Photo by Chip Somodevilla/Getty Images)
Chip Somodevilla/Getty Images North America/Getty Images
WASHINGTON - OCTOBER 08: U.S. Supreme Court members (first row L-R) Associate Justice Clarence Thomas, Associate Justice Antonin Scalia, Chief Justice John Roberts, Associate Justice Anthony Kennedy, Associate Justice Ruth Bader Ginsburg, (back row L-R) Associate Justice Sonia Sotomayor, Associate Justice Stephen Breyer, Associate Justice Samuel Alito and Associate Justice Elena Kagan pose for photographs in the East Conference Room at the Supreme Court building October 8, 2010 in Washington, DC. This is the first time in history that three women are simultaneously serving on the court. (Photo by Chip Somodevilla/Getty Images)
Now playing
01:16
How are Supreme Court justices chosen?
 Front row from left, U.S. Supreme Court Associate Justice Ruth Bader Ginsburg, Associate Justice Anthony M. Kennedy, Chief Justice John G. Roberts, Associate Justice Clarence Thomas, and Associate Justice Stephen Breyer, back row from left, Associate Justice Elena Kagan, Associate Justice Samuel Alito Jr., Associate Justice Sonia Sotomayor, and Associate Justice Neil Gorsuch pose for a group portrait in the East Conference Room of the Supreme Court June 1, 2017 in Washington, DC.
Alex Wong/Getty Images
Front row from left, U.S. Supreme Court Associate Justice Ruth Bader Ginsburg, Associate Justice Anthony M. Kennedy, Chief Justice John G. Roberts, Associate Justice Clarence Thomas, and Associate Justice Stephen Breyer, back row from left, Associate Justice Elena Kagan, Associate Justice Samuel Alito Jr., Associate Justice Sonia Sotomayor, and Associate Justice Neil Gorsuch pose for a group portrait in the East Conference Room of the Supreme Court June 1, 2017 in Washington, DC.
Now playing
01:45
Just how old are the Supreme Court justices?
CNN
Now playing
01:44
LGBT advocate: Devastated not strong enough word
People gather outside the Supreme Court during oral arguments in the U.S. v. Micosoft case February 27, 2018 in Washington, DC.
Drew Angerer/Getty Images
People gather outside the Supreme Court during oral arguments in the U.S. v. Micosoft case February 27, 2018 in Washington, DC.
Now playing
01:53
Supreme Court deals blow to organized labor
WASHINGTON, DC - APRIL 23: People wait in line to enter the U.S. Supreme Court, on April 23, 2018 in Washington, DC. Today the high court is hearing arguments in Chavez-Mesa v. US, which concerns a technical matter regarding sentencing guidelines. Deputy Attorney General Rod Rosenstein will be representing the government. (Photo by Mark Wilson/Getty Images)
Mark Wilson/Getty Images
WASHINGTON, DC - APRIL 23: People wait in line to enter the U.S. Supreme Court, on April 23, 2018 in Washington, DC. Today the high court is hearing arguments in Chavez-Mesa v. US, which concerns a technical matter regarding sentencing guidelines. Deputy Attorney General Rod Rosenstein will be representing the government. (Photo by Mark Wilson/Getty Images)
Now playing
01:48
Supreme Court upholds Trump's travel ban
WASHINGTON - MARCH 08:  U.S. Supreme Court Justice Anthony Kennedy testifies before the House Financial Services and General Government Subcommittee on Capitol Hill March 8, 2007 in Washington, DC. Thomas and fellow Justice Clarence Thomas spoke about concerns with the ongoing remodeling of the court building, the reduction of paperwork due to electronic media and the disparity of pay between federal judges and lawyers working in the private sector.  (Photo by Chip Somodevilla/Getty Images)
Chip Somodevilla/Getty Images
WASHINGTON - MARCH 08: U.S. Supreme Court Justice Anthony Kennedy testifies before the House Financial Services and General Government Subcommittee on Capitol Hill March 8, 2007 in Washington, DC. Thomas and fellow Justice Clarence Thomas spoke about concerns with the ongoing remodeling of the court building, the reduction of paperwork due to electronic media and the disparity of pay between federal judges and lawyers working in the private sector. (Photo by Chip Somodevilla/Getty Images)
Now playing
00:58
Justice Kennedy harshly critiques Trump
FILE - In this Oct. 10, 2017, file photo, the Supreme Court in Washington is seen at sunset. The Supreme Court is ordering Washington courts to take a new look at the case of a florist who refused to provide services for the wedding of two men because of her religious objection to same-sex marriage.  The justices' order Monday means the court is passing for now on the chance to decide whether business owners can refuse on religious grounds to comply with anti-discrimination laws that protect LGBT people.(AP Photo/J. Scott Applewhite, File)
J. Scott Applewhite/AP
FILE - In this Oct. 10, 2017, file photo, the Supreme Court in Washington is seen at sunset. The Supreme Court is ordering Washington courts to take a new look at the case of a florist who refused to provide services for the wedding of two men because of her religious objection to same-sex marriage. The justices' order Monday means the court is passing for now on the chance to decide whether business owners can refuse on religious grounds to comply with anti-discrimination laws that protect LGBT people.(AP Photo/J. Scott Applewhite, File)
Now playing
01:52
SCOTUS sides with faith-based pregnancy centers
WASHINGTON, DC - FEBRUARY 12: Members of the Supreme Court, (L-R) Chief Justice John Roberts and associate justices Anthony Kennendy, Ruth Bader Ginsburg, John Paul Stevens, Sonia Sotomayor and Elena Kagan, applaud as U.S. President Barack Obama arrives to deliver his State of the Union speech before a joint session of Congress at the U.S. Capitol February 12, 2013 in Washington, DC. Facing a divided Congress, Obama focused his speech on new initiatives designed to stimulate the U.S. economy and said, 'It?s not a bigger government we need, but a smarter government that sets priorities and invests in broad-based growth'. (Photo by Chip Somodevilla/Getty Images)
Chip Somodevilla/Getty Images North America/Getty Images
WASHINGTON, DC - FEBRUARY 12: Members of the Supreme Court, (L-R) Chief Justice John Roberts and associate justices Anthony Kennendy, Ruth Bader Ginsburg, John Paul Stevens, Sonia Sotomayor and Elena Kagan, applaud as U.S. President Barack Obama arrives to deliver his State of the Union speech before a joint session of Congress at the U.S. Capitol February 12, 2013 in Washington, DC. Facing a divided Congress, Obama focused his speech on new initiatives designed to stimulate the U.S. economy and said, 'It?s not a bigger government we need, but a smarter government that sets priorities and invests in broad-based growth'. (Photo by Chip Somodevilla/Getty Images)
Now playing
01:21
A look at the current Supreme Court
U.S. Supreme Court Justice Anthony Kennedy testifies before the House Financial Services and General Government Subcommittee on Capitol Hill March 8, 2007 in Washington, DC. Kennedy and Justice Clarence Thomas spoke about concerns with the ongoing remodeling of the court building, the reduction of paperwork due to electronic media and the disparity of pay between federal judges and lawyers working in the private sector.
Chip Somodevilla/Getty Images
U.S. Supreme Court Justice Anthony Kennedy testifies before the House Financial Services and General Government Subcommittee on Capitol Hill March 8, 2007 in Washington, DC. Kennedy and Justice Clarence Thomas spoke about concerns with the ongoing remodeling of the court building, the reduction of paperwork due to electronic media and the disparity of pay between federal judges and lawyers working in the private sector.
Now playing
01:17
Anthony Kennedy: The swing vote
WASHINGTON - JUNE 25: The exterior view of the U.S. Supreme Court is seen June 25, 2007 in Washington, DC. The Supreme Court has ruled to give more freedom for interest groups and unions to run TV ads before elections, and also ruled to limit taxpayers' rights to challenge government initiatives as unconstitutionally promoting religion. (Photo by Alex Wong/Getty Images)
File/Alex Wong/Getty Images
WASHINGTON - JUNE 25: The exterior view of the U.S. Supreme Court is seen June 25, 2007 in Washington, DC. The Supreme Court has ruled to give more freedom for interest groups and unions to run TV ads before elections, and also ruled to limit taxpayers' rights to challenge government initiatives as unconstitutionally promoting religion. (Photo by Alex Wong/Getty Images)
Now playing
02:20
Contentious past SCOTUS confirmation hearings
Now playing
04:04
Listen as lawyers argue travel ban case
Supreme Court Justice Ruth Bader Ginsburg, celebrating her 20th anniversary on the bench, is photographed in the West conference room at the U.S. Supreme Court in Washington, D.C., on Friday, August 30, 2013. (Photo by Nikki Kahn/The Washington Post via Getty Images)
The Washington Post/The Washington Post/Getty Images
Supreme Court Justice Ruth Bader Ginsburg, celebrating her 20th anniversary on the bench, is photographed in the West conference room at the U.S. Supreme Court in Washington, D.C., on Friday, August 30, 2013. (Photo by Nikki Kahn/The Washington Post via Getty Images)
Now playing
01:23
R.B.G. loved being 'notorious'
Will Mullery/CNN
Now playing
02:39
Listen to SCOTUS take up gerrymandering
U.S. Supreme Court Justice Ruth Bader Ginsburg participates in an annual Women's History Month reception hosted by Pelosi in the U.S. capitol building on Capitol Hill in Washington, D.C.  This year's event honored the women Justices of the U.S. Supreme Court: Associate Justices Ruth Bader Ginsburg, Sonia Sotomayor, and Elena Kagan.
Allison Shelley/Getty Images
U.S. Supreme Court Justice Ruth Bader Ginsburg participates in an annual Women's History Month reception hosted by Pelosi in the U.S. capitol building on Capitol Hill in Washington, D.C. This year's event honored the women Justices of the U.S. Supreme Court: Associate Justices Ruth Bader Ginsburg, Sonia Sotomayor, and Elena Kagan.
Now playing
00:42
Ginsburg: For so long, women were silent
Now playing
03:11
Hear Supreme Court arguments about cakeshop
(CNN) —  

With Justice Anthony Kennedy’s retirement from the Supreme Court, the America of 1950 is now positioned to write the legal rules for the America of 2050.

That may slightly overstate the likely longevity of the five-member conservative Supreme Court majority that will lock into place if and when the Senate approves President Donald Trump’s nominee to replace Kennedy. But potentially for decades, the court could be controlled by justices nominated and confirmed by a Republican electoral coalition rooted in the parts of the country least touched by the seismic economic, cultural and demographic changes reshaping 21st-century America.

That points to a widening gap between the ideological perspective dominant on the court and the lived daily reality for a growing share of the country. In the past – as in the 1850s with slavery or in the 1930s with the New Deal – that disjunction has proved an explosive combination in American politics.

“If you want a metaphor, in the scenario you are talking about, it is like two tectonic plates that are locked and trying to move in opposite directions,” says William Galston, a senior fellow at the Brookings Institution who’s the author of the new book “Anti-Pluralism: The Populist Threat to Liberal Democracy.”

Almost always, the Supreme Court is a lagging indicator of the relative standing between the two parties. Because justices serve for many years, it is not unusual for the court’s composition to bear the imprint of presidents and Senate majorities that governed years, if not decades, earlier. Kennedy, for instance, was confirmed during the Ronald Reagan administration, before the youngest voters in the past three presidential elections were born.

That doesn’t mean the court always lags behind public opinion: At times, as when it banned public school segregation in Brown v. Board of Education or more recently legalized gay marriage, the court has moved faster than, or at least paced, shifts in public attitudes. But the court is always backward looking in the sense that its balance of power is inexorably linked to the choices that voters made in presidential and Senate races years before. And that frequently provokes frustration, particularly when a court majority forged in an earlier era blocks the agenda of a party ascending in a later one.

That was the case in the 1850s, when the Supreme Court led by Chief Justice Roger Taney favored the interests of Southern slaveholding states. That outraged the new Republican Party, which was rapidly growing into the nation’s dominant electoral force as the voice of voters in the industrializing North who opposed slavery’s expansion. That conflict peaked with the court’s Dred Scott decision in 1857, which threatened to allow slavery in all of the territories.

At that point seven of the court’s nine members had been appointed by pro-Southern Democratic presidents, who had dominated American politics from Andrew Jackson (who appointed Taney) through Abraham Lincoln’s election in 1860. After the Civil War, the GOP, as the nation’s predominant electoral force, then pushed through the 13th and 14th amendments to the Constitution, which meant to expunge the legacy of slavery (though they did not eliminate racial discrimination) and confirmed onto the court generations of Republican justices who provided the legal framework for the same forces of industrialization and economic consolidation that the party promoted in its policy agenda.

Something similar recurred in the 1930s, when the Supreme Court struck down a succession of “New Deal” measures from Franklin Roosevelt that expanded the role of government to respond to the Depression. (That process peaked with the Schechter Poultry decision in 1935, which invalidated FDR’s National Recovery Administration, the centerpiece of his initial economic program).

At that point, seven of the nine justices had been appointed by Republican presidents, reflecting their dominance of national politics from 1896 through Roosevelt’s first election in 1932. (Chief Justice Charles Evan Hughes, appointed by Herbert Hoover, had even been the GOP presidential nominee in 1916.) Roosevelt responded by threatening to expand the court’s size, and while Congress didn’t approve his effort, enough justices shifted their perspectives (and then retired) to tip the court’s balance. As Democrats controlled Congress and the White House for most of the years between 1932 and 1968, a liberal court majority followed their tracks, both expanding individual rights and blessing a more expansive role for government.

It’s far from clear, of course, that Democrats in the decades ahead can achieve anything like the political dominance that Republicans did after the Civil War or FDR Democrats did after the Depression. The more precise parallel is that a lasting Republican-majority court today, like those earlier court majorities, would reflect perspectives least affected by their era’s dominant social and economic changes (in each earlier case successive waves of urbanization, immigration and industrialization.)

That’s critical because from access to abortion, gun rights and gay rights, immigration enforcement (such as last week’s decision upholding Trump’s travel ban focused on mostly-Muslim nations), religious liberty, voter access and suppression to privacy in the digital age, many of the court’s most explosive choices will likely be triggered by America’s rapidly evolving social and economic conditions.

A five-member court majority appointed by Republican presidents, and confirmed almost entirely by Republican votes in the Senate, would confront these accelerating changes as the product of a political coalition that remains largely apart from, and often resistant to, this convulsive change. Both at the presidential and Senate level, the GOP relies on what I’ve called a “coalition of restoration” that primarily revolves around the states, and the voters, least affected by the changes remaking America, whether measured in religious and racial diversity, economic structure or cultural attitude.

Clear divide between red and blue states

Consider religion. White Christians, long a majority of Americans, now represent only about two-fifths of the population, as the nation’s increasing religious and ethnic diversity swells the share of non-white Christians and secular adults, according to survey research by the nonpartisan Public Religion Research Institute. But Republicans rely preponderantly on the states, mostly in the Midwest and Great Plains, that least embody this widening religious pluralism. Of the 30 states Trump carried in 2016, white Christians represented 45% or more of the population in 25 of them, according to the annual PRRI American Value Atlas; Hillary Clinton carried just four states with so many white Christians; By contrast, Clinton won 16, and Trump just five, of the states where white Christians represent 44% of the population or less.

Likewise, in the Senate, nearly three-fifths of Republican senators represent just the 20 states where white Christians compose the highest share of the population, while over three-fourths of Democratic senators represent the 30 states with the smallest share of white Christians.

The partisan contrast on immigration is similar. Nationally, the share of America’s population born abroad has been steadily rising in recent decades, reaching 13.5%. But that tide has been unevenly distributed, with immigration far less pronounced in many Southern and Rust Belt states. Those states were Trump’s base: He won 26 of the 30 states where immigrants represent the smallest share of the population and only four of the 20 where they constitute the highest share. (Those exceptions were Texas, Florida, Georgia and Arizona.) Likewise, the Democratic Senate caucus tilts heavily toward the high-immigration states, while over four-fifths of Senate Republicans represent the 30 states with the least immigrant presence.

The parties are separated just as sharply in their connection to economic change, particularly the transition to an information-based economy. Brookings’ Metropolitan Policy Program ranks states based on the share of their total employment that requires high levels of digital skill. Of the 20 states with the largest share of high-digital skills jobs, Clinton won 14 and Trump just six. Trump won 24, and Clinton just six, of the 30 states with the lowest share of highly digital jobs.

In the Senate, Democrats hold fully three-fourths of the seats from the 20 most digitized states; Republicans hold two-thirds from the bottom 30 states. Other census data reinforce this picture. Democrats, remarkably, hold 27 of the 28 Senate seats in the 14 states with the highest share of college graduates in the adult population and 34 of the 42 in the 21 highest. (Cory Gardner of Colorado, who faces a likely difficult re-election in 2020, is the sole Republican senator from the 14 most highly educated states.) Republicans, in turn, control 43 of the 58 Senate seats in the 29 states with the smallest share of college graduates.

Republicans are much more competitive in states that revolve around the blue-collar industries that powered America’s economy through most of the 20th century. The GOP, for instance, holds 34 of the 60 Senate seats in the 30 states where the highest percentage of workers is employed in manufacturing, according to the Census Bureau. And Trump won 16 of the 20 states that produce the most oil, 13 of the 16 that produce the most natural gas and 11 of the 15 with meaningful coal production. Those states mostly send Republicans to the Senate as well.

The court v. the country on abortion

Cultural attitudes follow the same patterns as demographic and economic change. The PRRI surveys track state-by-state attitudes on several large cultural questions. A clear majority of Americans now consistently say abortion should remain legal in all or most cases. But Republicans dominate the Senate seats from the states where the fewest people agree with that sentiment, while Democrats dominate the seats from the states where the most do, according to PRRI findings. The same pattern holds on same-sex marriage, which now also enjoys majority support but still provokes substantial regional variation.

In all these ways, the parts of the country that most resemble the America of the mid-20th century are poised to nominate and confirm the justices who will set the legal framework for the nation well into the mid-21st. The potential tension that could provoke was evident already in the final weeks of the most recent term, when the Republican-appointed justices (including Kennedy) muscled through a succession of party-line 5-4 decisions. Many observers believe that with Kennedy replaced by a more consistently conservative justice, the court could reconsider decisions authorizing legal abortion, same-sex marriage and other socially liberal rulings.

The John Roberts factor

Galston, like some other analysts, believes Chief Justice John Roberts’ fear that Americans will see the court as just another front in the partisan wars – an attitude that some felt influenced his key 2012 vote to uphold the Affordable Care Act – might mitigate these coming conflicts.

“Roberts thinks institutionally, not just ideologically,” says Galston. “He won’t lean against that wind all the time, but the ACA was a mighty important example. I think he looked at the possible impact on the political standing and perceived legitimacy of the court and said, ‘Wait a minute.’ ”

Yet those concerns didn’t prevent Roberts from joining the 5-4 party-line rulings that rolled out of the court this term as if stamped on an assembly line. The prospect that a lasting Republican court majority will reject more challenges from blue states against conservative federal policies, overturn existing rights like guaranteed access to abortion, slow – if not reverse – the expansion of civil rights protections for minority groups, create more religious exemptions from equal rights laws and approve red-state policies that create hurdles to voting – particularly for minorities – is certain to create mounting frustration in the country’s Democratic-leaning areas. That anxiety would intensify if the Republican-majority court moves to strike down laws and executive actions from the next Democratic president and congressional majority, in 2021 or thereafter.

The coming “court will be in step with the conservatives in the country and out of synch with the liberals, and because we are so divided that court is not going to be a neutral arbiter,” says Harvard Law School professor Noah Feldman, author of “Scorpions,” a book on FDR’s battles with the Supreme Court. “It is going to be a partisan actor on behalf of the conservatives.”

Behind their “coalition of transformation” centered on groups that are growing in society – millennials, minorities and college-educated whites – Democrats have won the popular vote in six of the past seven presidential elections, a feat unmatched in modern American political history. Yet they have captured the Electoral College and the White House in only four of those races, and, largely as a result, now face the prospect that Republicans will control the Supreme Court for years, no matter how often a majority of Americans support Democrats in presidential contests.

It’s difficult to predict exactly how the tension might erupt over a divergence between a court rooted in one political and cultural era, and a majority electoral coalition that reflects another. But one clear lesson of history is that, sooner or later, it will erupt.