Supreme Court Justice Ruth Bader Ginsburg is back home and resting after being hospitalized on Friday.

Ginsburg, 86, has been released after being admitted with chills and a fever, a spokesperson for the Supreme Court said on Sunday.

"She is home and doing well," the spokesperson said in a statement to NBC News.

She was admitted to Johns Hopkins Hospital in Baltimore on Friday night after an initial evaluation at Sibley Memorial Hospital in Washington, the court official said. She was transferred to the Baltimore facility for evaluation and treatment of a possible infection.

With intravenous antibiotics and fluids, her symptoms abated, the spokesperson said Saturday.

The hospitalization followed her return to the bench Monday after missing a day of arguments the previous week.

Last week, she was "home with a stomach bug," a court spokesperson said.

Ginsburg was treated over the summer for a cancerous tumor on her pancreas, and she underwent surgery last winter for lung cancer.

She has vowed to stay on the Supreme Court, which is staffed by lifetime presidential appointments, as long as her health permits.