WASHINGTON - The political earthquake that hit Tuesday night has enormous consequences for the future of the Supreme Court, swallowing up Judge Merrick Garland's nomination and dismantling Democratic hopes for a liberal majority on the high court for the first time in nearly half a century.
In the short term, Donald Trump's victory means that at some point next year, the nine-member court will be restored to full capacity with a majority of Republican-appointed justices, just as it has been for decades.
Trump's upset victory likely changes the court's docket, as well: With a stroke of the pen, the new president could cancel President Obama's regulations regarding the environment, immigrants, and the provision of contraceptives under the Affordable Care Act, all issues that have preoccupied the justices in recent terms.
The long-term question will be Trump's ultimate impact on the court's membership and further down the line on the rest of the federal courts, where numerous openings on the bench await nominations.
Besides replacing Justice Antonin Scalia, who died in February, Trump may get the chance to replace liberal justices and move the court to the right for generations.
Two of the court's liberals, Ruth Bader Ginsburg and Stephen G. Breyer, are 83 and 78, respectively. Moderate conservative Anthony M. Kennedy is 80.
As long as those three stay, the court's rulings on sensitive social issues - protecting abortion rights, affirmative action, and gay rights, for instance - are secure. But replacing any one of them could tilt the table.
That is why on Wednesday, many liberals were ruing a lost opportunity.
As Election Day dawned, Richard Hasen, a law professor at the University of California at Irvine, wrote on his blog: "The court is now likely to be conservative for the next generation, and the results are going to be felt in every aspect of American life."
Tuesday's election ensures that Kennedy will remain the court's pivotal justice, for now. Trump has said he will draw his Supreme Court nominee from a list of 20 judges and one senator: Mike Lee of Utah. All appear to be more conservative than Kennedy, the court's longest-serving justice.
Abortion-rights advocates immediately sounded an alarm.
"President-elect Trump has publicly pledged to overturn [Roe v. Wade] and promised punishment for the one in three American women who will have an abortion in her lifetime," said Nancy Northup, president of the Center for Reproductive Rights.
While the attention has been on Ginsburg and Breyer, replacing Kennedy with a more stalwart conservative would immediately affect the court's dynamics. He has given no indication about how long he intends to serve on the court.
Ginsburg has said she will serve as long as she is up to the job. She would likely be loath to allow Trump to pick her successor; she caused an uproar this summer when, in media interviews, she called him a "faker" and said she feared for the court and the country if he were elected. Courtroom sketch artist Arthur Lien said that on Wednesday, Ginsburg was wearing the jabot she sometimes saves for days she dissents from opinions
Ginsburg turned aside calls from some liberals that she retire years ago so Obama could name her replacement. She told the Washington Post that there was no rush: She felt it was likely that another Democrat would be elected after Obama.
Garland, a moderate liberal who is chief judge of the U.S. Court of Appeals for the District of Columbia Circuit, would likely have replaced Kennedy as the justice in the middle. Obama nominated him in March in part because in the past, Republicans have said he was the most likely Democratic nominee to win confirmation.
But Senate Majority Leader Mitch McConnell (R., Ky.) declared on the night of Scalia's death that Republicans would not act on any Obama nominee. The move brought charges that McConnell had politicized the process, but the gambit worked: It will now be a Republican president making the lifetime appointment to replace Scalia.
On Wednesday, McConnell told reporters that his decision caused "a hail of controversy" but that he "thought it best if the American people decided this appointment."
When Obama took office, only one of the 13 federal courts of appeal had a majority of Democratic appointees. Now, nine of them do.
For the Supreme Court, Trump has said his nominee will come from the list compiled with the help of the Heritage Foundation and the Federalist Society, a conservative legal group. His nominee will be like Scalia in seeking to overturn Roe and be a strong supporter of the Second Amendment, he has said.