Supreme Court Justice Ruth Bader Ginsburg revealed on Friday that she does not plan on retiring anytime soon.

"My answer is as long as I can do the job full steam, I will do it," Ginsburg said, receiving applause at an Equal Justice Works event.

ADVERTISEMENT

"I used to have an answer, it worked for a lot of years. It was Justice [Louis] Brandeis, when he was appointed he was the same age as I was, 60. And he stayed for 23 years, so I expect to stay at least as long. Well, now I've passed Brandeis, I've passed [Justice Felix] Frankfurter," she said.

Ginsburg, 84, has served on the Supreme Court for 24 years.

She is seen as an icon among liberals, who have expressed hope she will stay on the court for the duration of the Trump administration.

Trump has rallied conservatives around a promise he would fill the nation's highest court with right-leaning picks.

The president appointed Justice Neil Gorsuch earlier this year, to the delight of conservatives.

Ginsburg has spoken out against Trump in the past.

“I can’t imagine what this place would be — I can’t imagine what the country would be — with Donald Trump Donald John TrumpBubba Wallace to be driver of Michael Jordan, Denny Hamlin NASCAR team Graham: GOP will confirm Trump's Supreme Court nominee before the election Southwest Airlines, unions call for six-month extension of government aid MORE as our president,” she told The New York Times in July 2016. “For the country, it could be four years. For the court, it could be — I don’t even want to contemplate that.”

She later apologized for the comments.