The U.S. Senate voted mostly along party line Monday to confirm Judge Amy Coney Barrett, President Donald Trump’s nominee, to the Supreme Court, succeeding late Justice Ruth Bader Ginsburg.

With 52 votes in favor and 48 against, the Republican-controlled Senate’s confirmation of the 48-year-old conservative judge to the high court drew opposition from all of the Democratic members in the chamber.

Susan Collins, Republican senator from Maine who faces a tough reelection battle, was the only GOP senator who crossed the political aisle to side with the Democrats.

It’s unprecedented in modern U.S. history for a Supreme Court justice to be confirmed in the Senate without gaining a single vote of support from the minority party, something unseen for 151 years.

The confirmation made Barrett, a devout Catholic and longtime law professor at Notre Dame University, the 115th justice of the Supreme Court and the fifth woman ever to sit on the bench.

Shortly after the Senate vote, Justice Clarence Thomas administered Barrett’s Constitutional oath during a nighttime ceremony at the White House South Lawn presided over by Trump.

“The oath that I’ve solemnly taken tonight, means at its core that I will do my job without any fear or favor and that I will do so independently of both the political branches and of my own preferences,” said Barrett after her swearing-in.

Barrett’s installation on the Supreme Court to serve what will potentially be a lifelong tenure will further consolidate the conservative majority on the bench, giving Republican appointees a 6-3 edge over those picked by Democratic presidents.

Chief Justice John Roberts, also a Republican appointee, will administer the judicial oath of Barrett at the Supreme Court Tuesday, according to a news release from the Supreme Court, which said the newly approved justice will then “be able to begin to participate in the work of the Court.”

Since Trump announced the nomination in late September, Democrats have consistently opposed the Senate move to confirm Judge Barrett, citing the proximity to Election Day, which is just eight days out now. They have insisted that the winner of the election be allowed to decide who fills the vacant seat.