Justice Ruth Bader Ginsburg was hospitalized with several broken ribs on Thursday after falling in her Supreme Court office the day before.

“She went home, but after experiencing discomfort overnight, went to George Washington University Hospital early this morning,” the court said in a statement.

“Tests showed that she fractured three ribs on her left side and she was admitted for observation and treatment.”

The 85-year-old Ginsburg, appointed by then- President Bill Clinton in 1993, is among the most liberal justices on the court, which is split 5-4 in favor of conservatives after President Trump named Justices Brett Kavanaugh and Neil Gorsuch.

In her absence, the court went ahead Thursday with a ceremony officially welcoming Kavanaugh. President Trump, First Lady Melania and new acting Attorney General Matthew Whitaker were on hand.

Ginsburg, who is the subject of a documentary, “RGB,” and a new film, “On the Basis of Sex,” said in July that she would like to stay on the court until she turns 90.

“I’m now 85,” she told CNN at the time. “My senior colleague, Justice John Paul Stevens, he stepped down when he was 90, so I think I have about at least five more years.”

She also has hired a team of clerks for the Supreme Court term that ends in 2020.

Ginsburg has overcome several previous health issues. She underwent colon-cancer surgery in 1999, received treatment for early stages of pancreatic cancer in 2009, and had a stent placed in a blocked coronary artery in 2009.

She also broke two ribs in a fall in 2012.

White House counselor Kellyanne Conway described Ginsburg as “a very tough woman” and said she’s “praying for her.”

“I’ve known her for many, many years — got to see her just a few weeks ago here at the swearing-in of Justice Kavanaugh,” Conway said.

“I hope she has a full and speedy recovery.”

The court next sits on Nov. 26.