Justice Anthony Kennedy’s retirement is setting off a momentous confirmation battle for US president Donald Trump’s next Supreme Court nominee.

All sides quickly mobilised on Wednesday after Justice Kennedy – a singular voice on the court whose votes have decided issues on abortion, affirmative action, gay rights, guns, campaign finance and voting rights – sent shockwaves through Washington by announcing his retirement plans.

Mr Trump said he would start the effort to replace Justice Kennedy “immediately” and would pick from a list of 25 names that he updated last year.

“We have to pick a great one. We have to pick one that’s going to be there for 40 years, 45 years,” Mr Trump told supporters at a rally in Fargo, North Dakota, on Wednesday evening.

“You know there’s so many elements (that) go into the making of a great justice of the Supreme Court.”

Senate Majority Leader Mitch McConnell declared that the Senate “will vote to confirm Justice Kennedy’s successor this fall”.

With Justice Kennedy’s departure, Republicans have a longed-for opportunity to tip the balance of the court.

It already has four justices picked by Democratic presidents and four picked by Republicans, so Mr Trump’s pick could shift the ideological balance toward conservatives for years to come.

Republicans also have a chance to make judicial nominees a top campaign issue, which could help motivate conservatives and evangelicals to vote in November.

The playbook worked in 2016, when Republicans rallied around Mr McConnell’s successful block of then-President Barack Obama’s nominee to the court, Merrick Garland.

If Republicans unite behind Mr Trump’s selection, there is little that Democrats can do to stop it.

Supreme Court Kennedy Retires
Justice Anthony Kennedy, who announced he is retiring after more than 30 years on the court. (J Scott Applewhite/AP)

Republicans changed the Senate rules last year so that Supreme Court nominees cannot be filibustered, meaning only 51 votes will be required to confirm.

Last year, Mr Trump’s first nominee to the court, Neil Gorsuch, was confirmed 54-45, with three Democrats voting in favour.

Those Democrats – Senator Joe Manchin of West Virginia, Senator Joe Donnelly of Indiana and Senator Heidi Heitkamp of North Dakota – are facing difficult re-election races and could find it difficult to oppose the president’s second pick.

But while Republicans are aiming for speedy action, Democrats quickly argued that any decision should be put on hold until after midterm elections, citing Mr McConnell’s 2016 moves.

Senate Minority Leader Chuck Schumer said it would be the “height of hypocrisy” to vote sooner.

He said the voices of millions of Americans heading to the polls this fall “deserve to be heard”.

Mr McConnell refused to consider Mr Garland because it was a presidential election year. He said the seat should be left open for the next president to fill.

Senator Chuck Grassley, the chairman of the Judiciary Committee, told reporters that the 2016 delay on Supreme Court confirmations only applied to presidential election years.

He noted that Justice Elena Kagan was confirmed in 2010, a midterm election year.

Another flashpoint in the court debate will be abortion rights, which puts a spotlight on key female Republican senators, Senator Susan Collins of Maine and Senator Lisa Murkowski of Alaska.

Both have supported abortion access. The abortion issue could also prove difficult for Senator Dean Heller of Nevada, the most endangered Senate Republican running for re-election this fall, whose views have shifted against abortion rights.

Supreme Court Kennedy Retires
President Donald Trump, left, with Supreme Court Justice Anthony Kennedy (Carolyn Kaster/AP)

Mr Schumer said the Senate should reject “on a bipartisan basis any justice who would overturn Roe v Wade or undermine key health care protections”.

Speaking to reporters at the White House, Mr Trump deflected a question on whether he should wait until after the midterm elections to announce a successor to Justice Kennedy, saying he has not “really thought about that. I think you want to go as quickly as possible”.

The president stressed his confidence in the picks on his list, saying, “You see the kind of quality we’re looking at when you look at that list.”

Some possible nominees being eyed include Thomas Hardiman, who serves alongside Mr Trump’s sister on the Philadelphia-based 3rd US Circuit Court of Appeals, and Raymond Kethledge, a federal appeals court judge who clerked for Justice Kennedy.

Also of interest are Amul Thapar, a federal appeals court judge from Kentucky who is close to McConnell; Brett Kavanaugh, a former clerk for Justice Kennedy who serves on the federal appeals court in Washington DC; and Amy Coney Barrett, who serves on the federal appeals court in Chicago.

Among Mr Trump’s counsellors is Leonard Leo, who is taking a leave of absence as executive vice president of the Federalist Society to serve as an outside adviser to the process.

Mr Leo said on Wednesday that it was important to first focus on Justice Kennedy’s legacy and demonstrate appreciation. From there, he said, the “White House will begin to winnow the president’s list to a manageable short list”.

“The president has been very clear over and over what his standards are,” Mr Leo said.

Senators were bracing for the tough days ahead.

Republican Senator Ben Sasse of Nebraska, a member of the Judiciary Committee, bluntly talked of the “blood sport” likely to be triggered by the nomination fight.

“Americans ought to aim higher,” he said.

In addition to a massive dose of energy, the Supreme Court fight is expected to trigger a flood of new campaign cash that will strengthen the Republican’s midterm efforts.

“It’s a game changer,” said Republican strategist Chris Wilson. “There’s no piece of legislation, no executive order, no Supreme Court decision that would have created the level of motivation that an empty seat does.”