Sandra Day O'Connor, the first woman to serve as a justice on the US Supreme Court, wielded enormous influence as the key centrist on a sharply divided bench, where she often displayed a preference for pragmatism over ideology.

Once spoken of as the most powerful woman in America, O'Connor often confounded both her critics and supporters during her nearly 25-year tenure on the nation's high court, refusing to be pigeonholed by the left or the right.

It was her refusal to be placed on either side of the political spectrum, or to be seen as merely the one woman on the bench, that made her a pivotal justice from the early 1980s until her retirement in early 2006.

"The power I exert on the court depends on the power of my arguments, not on my gender," she told a Washington University conference in 1990.

O'Connor, 93, died Friday following a years-long battle with dementia that saw her step back from public life in 2018.

Known as a moderate Republican, O'Connor was not an immediately popular choice when Ronald Reagan nominated her to the court in 1981, fulfilling his campaign pledge to name a woman to one of the first Supreme Court vacancies in his administration.

Conservatives criticized her lack of federal judicial experience and viewed her position on abortion with suspicion, while liberals -- though happy to see a woman on the bench -- voiced concern over her commitment to feminist issues.

After her first few years on the court, O'Connor emerged as a crucial "swing voter" -- breaking with her conservative colleagues and providing the fifth vote to make a liberal majority on several key occasions.

Many of those who regularly argued cases before the Supreme Court were known to pitch their arguments specifically with O'Connor in mind.

Richard Lazarus, who used to coach lawyers facing the justices when he taught at Georgetown University, considered her the touchstone.

"When Justice O'Connor asks a question at oral argument, every advocate would be well advised to answer in full, and pause and look at her, because nothing is more important to you than making sure you've addressed her concerns," Lazarus told The Washington Post in 2004.

O'Connor's reputation as a moderator and coalition-builder greatly enhanced her influence on a bench that was so divided on core legal philosophy.

As much as she infuriated liberals by siding with the majority that blocked the 2000 Florida vote recount and effectively handed the presidency to George W. Bush, she also outraged conservatives a few years later by helping to uphold the University of Michigan Law School's right to run an affirmative action admissions policy.

She proved the decisive vote on key cases that upheld the government's neutrality towards religion, including a 2005 ruling that it was unconstitutional for the Ten Commandments to be displayed in several courthouses.

"Allowing government to be a potential mouthpiece for competing religious ideas risks the sort of division that might easily spill over into suppression of rival beliefs," she wrote in a concurring opinion.

The position she occupied for years at the center of the bench was one that few subsequent justices embraced, as nominations to the court have grown increasingly partisan.