An Alabama judge has rejected Roy Moore’s attempt to stop the state from making his defeat official in Alabama’s special Senate election.

Montgomery Circuit Judge Johnny Hardwick on Thursday denied Moore’s attempt to delay the certification of votes while Moore’s claims of voting irregularities are investigated. Democrat Doug Jones is expected to be certified as the winner Thursday afternoon.

Moore had filed a lawsuit late Wednesday night in an 11th-hour attempt to stop Alabama from certifying Jones as the winner.

Moore’s attorney wrote in the lawsuit that he believed there were irregularities and said there should be a fraud investigation and eventually a new election.

Alabama election officials say they found no evidence of fraud.