As reported by CNN:
Moore now faces Democratic nominee Doug Jones in a December general election in the race to replace Attorney General Jeff Sessions.
Moore's win Tuesday night will thrust his long history of homophobic and racially tinged remarks into the spotlight.
He has campaigned on a platform of placing Christianity at the center of public life. In 2003, Moore was removed as state Supreme Court chief justice for refusing to take down a Ten Commandments monument. He was re-elected to the job, and then ousted again in 2016, when he refused to follow the US Supreme Court's ruling legalizing same-sex marriage.
Though Alabama is a solidly red state, Democrats hope Jones, a former federal prosecutor who rose to prominence by leading the government's case against two perpetrators of the 16th Street Baptist Church bombing, can make the race competitive.Here is additional background on Moore from Wikipedia.
Moore Tweeted from his victory rally: "There's one person you don't see on this stage that's done more for my campaign than anybody, and that's almighty God." In a second Tweet, he added: "We have to return to the acknowledgment of God, and the United States Constitution."