WASHINGTON — Supreme Court nominee Amy Coney Barrett declared Monday that Americans “deserve an independent Supreme Court that interprets our Constitution and laws as they are written,” encapsulating her conservative approach to the law that has Republicans excited about the prospect of her taking the place of the late Justice Ruth Bader Ginsburg before Election Day.

Watch a replay of the confirmation hearings:

Barrett spoke about her judicial philosophy, her experience and her large family at the end of the first day of her fast-tracked confirmation hearings that Senate Democrats are using to try to brand her a threat to Americans' health care during the coronavirus pandemic.

At least five demonstrators reportedly were arrested outside the Dirksen Senate Office Building before the hearings started. There were reports of at least 22 being arrested.

After the hearing began, Sen. Patrick Leahy (D-Vermont) condemned a senator who attended the confirmation hearing in person after testing positive just days ago, calling it “plainly unsafe.”

Sen. Mike Lee (R-Utah) and Sen. Thom Tillis (R-North Carolina) were diagnosed with the virus after attending Barrett’s Rose Garden announcement, but Tillis attended remotely. The ceremony has been referred to as a “superspreader” event.

“We should not be holding this hearing when it’s plainly unsafe to do so. Two members of this committee are just now emerging from quarantine after testing positive for COVID, and when other members have declined to get tested and the chairman has refused to implement a daily testing regimen to keep members and staff and Judge Barrett and her family safe,” Leahy said.

After sitting in silence through nearly four hours of opening statements from members of the Senate Judiciary Committee, the 48-year-old federal appeals court judge laid out her approach to the bench, which she has likened to that of her conservative mentor, the late Justice Antonin Scalia.

“Courts have a vital responsibility to the rule of law, which is critical to a free society. But courts are not designed to solve every problem or right every wrong in our public life,” Barrett said in a statement she delivered after removing the protective mask she wore most of the day.

“The policy decisions and value judgments of government must be made by the political branches elected by and accountable to the people. The public should not expect courts to do so, and courts should not try.”

She told senators that she is “forever grateful” for Ginsburg’s trailblazing path as a woman on the court.

Yet Sen. Kamala Harris, Democratic presidential nominee Joe Biden’s running mate, said the court is “often the last refuge for equal justice” and a Barrett nomination puts in jeopardy everything Ginsburg fought to protect.

Testifying from her office because of the pandemic, Harris said that not only health care but voting rights, workers' rights, abortion rights and the very idea of justice are at stake.

Republicans called Barrett a thoughtful judge with impeccable credentials.

Barring a dramatic development, Republicans appear to have the votes to confirm her to a lifetime seat on the Supreme Court. If she is confirmed quickly, she could be on the court when it hears the latest challenge to the Affordable Care Act, a week after the election.

One after another, Democrats sought to tie her nomination to the upcoming court case.

“Health care coverage for millions of Americans is at stake with this nomination,” said Sen. Dianne Feinstein of California, the committee’s senior Democrat.

Sen. Sheldon Whitehouse (D-Rhode Island) said the nomination is a “judicial torpedo aimed” at the law’s protection for people with preexisting health conditions among its provisions. The Trump administration wants the court to strike down the entire law popularly known as “Obamacare” on Nov. 10. Barrett has criticized the court’s two earlier major rulings supporting the law.

Among Republicans, Sen. Chuck Grassley (R-Iowa) dismissed warnings Barrett will undo the Obama-era health care law as “outrageous.”

President Donald Trump himself seemed to be watching, tweeting several times about the hearing. In one message, he tweeted that he’d have a “FAR BETTER” health care plan, with lower costs and protections for preexisting conditions. But he has not, as yet, discussed an actual health care plan.

Republicans also warned against making Barrett’s Catholicism an issue in the confirmation debate, especially in regard to her stance on abortion, with Sen. Josh Hawley of Missouri lambasting what he called a “pattern and practice of religious bigotry” by Democrats. However, Democratic senators made clear in advance of the hearing that they didn’t plan to question the judge on the specifics of her religious faith.

Democratic presidential nominee Biden, also a practicing Catholic, told reporters ahead of a campaign trip to Ohio that he doesn’t think “there’s any question about her faith.”

Barrett’s religious views and past leadership role in a Catholic faith community pose a challenge for Democrats as they try to probe her judicial approach to abortion, gay marriage and other social issues without veering into inappropriate questions of her faith.

The Senate Judiciary Committee, meeting on a federal holiday, kicked off four days of statements and testimony in an environment that has been altered by the coronavirus pandemic. Some senators were taking part remotely, and the hearing room itself was arranged with health concerns in mind.