Democratic underdog Doug Jones defeated his Republican opponent, Roy S. Moore, for Alabama’s second Senate seat in last December’s special election. The former federal prosecutor claimed victory after multiple news outlets called the race in his favor.

Despite Jones’ clear win, Moore, the twice-ousted Chief Justice of Alabama’s highest court, refused to concede, telling supporters that “when the vote is this close…it’s not over.” The shocking triumph will have an immense impact on the upcoming 2018 midterm elections, sending a loud and clear message to President Donald Trump and the Republicans that this country will not stand for racism and bigotry.

The heated race to fill Jeff Sessions’ seat came into the national spotlight because of Moore’s racist and intolerant comments, in addition to multiple accusations of sexual misconduct and harassment. One sexual assault allegation was made by a woman who was 14 years old at the time of the incident. Moore’s clear disregard for proper morals can be seen in his legal action as well.  

Moore, a strong supporter of President Trump, called for the elimination of 17 Constitutional amendments (he would keep only the first ten), including those permitting women and African Americans to vote. When explaining why kids commit drive-by shootings, he said “[kids] act like animals because we’ve taught them they come from animals,” and then continued his claim that human evolution is a hoax. Moore has fought to make “homosexual conduct” illegal and to ban Muslims from serving in Congress. He has also promoted the “birther” conspiracy theory which doubts the legitimacy of Barack Obama’s presidency by baselessly claiming he was born outside of the United States.

Alabama’s Court of the Judiciary fired Moore as the Chief Justice of the state’s highest court for the second time in September of 2016. Moore violated judicial ethics when he ordered the state’s lower courts to disregard a U.S. Supreme Court case on same-sex marriage.

A stark contrast to Moore, Jones successfully prosecuted, among many others, two suspects in the 16th Baptist Church Bombing of 1963 throughout his career as a U.S. attorney. The Birmingham Civil Rights Institute honored Jones with the 15th Anniversary Civil Rights Distinguished Service Award in 2007. In 2013, he and longtime friend Greg Hawley formed the law firm Jones & Hawley, PC in Birmingham.

The seat’s vacancy occurred due to President Trump’s nomination of then-Senator Jeff Sessions as Attorney General. Sessions, a lifelong Republican, won his seat in the upper house by 97% in 2014. Thus, it was surprising for Jones to win in Alabama only three years later. Democratic victories in Alabama are a rare occurrence. The last Democrat to win a Senate seat in the traditionally Republican stronghold was Senator Richard Shelby, who won his seat as a Democrat in 1992 but then switched parties in 1994. To this day, he still holds his seat in the Senate as a Republican.

Jones’s victory sets the Democrats up for a shift in power in the 2018 midterms as well as a chance to block some of Trump’s controversial initiatives, such as a border wall. While the House of Representatives is seemingly out of reach for the Democrats, the GOP’s majority in the Senate has been reduced to a single seat with a 51-49 lead. The Democrats must acquire just two of eight available GOP seats to gain a majority in the midterms, although they must also defend 25 seats, several in states that Trump won. With only three GOP senators needed to vote against their party, however, the Democrats appear to have a significant chance at preventing more Trump legislation from passing through the Senate before and after midterms.