Supreme Court Justice Ruth Bader Ginsburg fractured three ribs during a fall in her office Wednesday night, the court said.

According to a statement from the court, Ginsburg returned home Wednesday night but went to the hospital early Thursday after “experiencing discomfort overnight.” She called court police to take her there before dawn. Tests showed that she fractured three ribs on her left side, the statement said.

Ginsburg, 85, was admitted to George Washington University Hospital early this morning for observation and treatment. Her hospitalization comes on the morning of the formal investiture of the court’s newest justice, Brett M. Kavanaugh. President Trump is among the dignitaries planning to attend the ceremony at the court.

In 2012, Ginsburg disclosed to a reporter that she had recently broken two ribs in a fall but did not take time off because of the court’s heavy workload at the time.

She has persevered on the bench despite several health issues, including scares from both colon and pancreatic cancer and a heart procedure in which she received a stent in her right coronary artery.

During a speaking appearance in New York in July, Ginsburg said she expected to serve on the court for at least five more years.

Even in her advancing years, Ginsburg has a widely publicized regular exercise routine, known as the “RBG workout,” which includes push-ups, planks and arm curls. Asked about her health in the recent documentary “RBG,” the Supreme Court justice said she’s proud of keeping herself in shape to do her job.

Asked last year if she was contemplating retirement, she said, “As long as I can do the job full steam, I will do it.” She has also reportedly hired law clerks through 2020, sending the message that she plans on sticking around.

Ginsburg is already five years past the average retirement age of the past 11 justices and is three years older than the recently retired justice Anthony M. Kennedy.

As a presidential candidate, Trump responded to her public criticism of him by calling on her to resign, tweeting that her “mind is shot.”

Samantha Schmidt and Robert Barnes contributed to this report.

For the first time in her Supreme Court career, Ruth Bader Ginsburg misses a day of oral arguments

The justice is recovering from cancer surgery

What is going on with Ginni Thomas? The evolution of an unusually outspoken Supreme Court spouse

Past the cheery smile is not a ‘wife of’ but a woman who has gathered her own power over the years

After lung cancer surgery, Supreme Court Justice Ruth Bader Ginsburg released from hospital

Doctors said there was ‘no evidence of any remaining disease elsewhere in the body’