The Brooklyn native, appointed to the Supreme Court in 1993 by President Bill Clinton, consistently sided with the liberal wing of the court in landmark cases that legalized same-sex marriage and kept abortion rights.

Ruth Bader Ginsburg answers reporters’ questions in June 1993, shortly after her Supreme Court nomination, during a courtesy call to Sen. Joe Biden’s office. Flanking her are Biden and New York Sen. Daniel Patrick Moynihan. (CQ Roll Call file photo)

But with a conservative majority for that entire stretch, Ginsburg often expressed herself most forcefully in dissents about voting rights, worker rights and the contraceptive mandate of the 2010 health care law.

She became known for wearing a dissent collar on the bench on days when the court announced key decisions. She called a 5-4 majority opinion “destructive” and “egregiously wrong” in a 2018 case about public sector unions. In a dissent to a 2014 decision about the contraceptive mandate, Ginsburg wrote: “The court, I fear, has ventured into a minefield.”

That style led a blog to dub her “Notorious R.B.G,” after another Brooklyn native, gangster rapper “Notorious B.I.G.,” and other cultural salutes such as action figures and a book about her workout routine escalated along with the number of women in politics and law.

She demonstrated that workout on “The Late Show” with Stephen Colbert. A documentary simply titled “RBG” highlighted her path to the high court, and she got a cameo in a movie in Dec. 2018, “On the Basis of Sex,” about her time breaking into a legal career when men dominated the field.