The federal judge handling President Donald Trump’s broad legal challenge to overturn the election results in Pennsylvania has dismissed the case, saying that the campaign’s request to toss nearly 7 million votes “is simply not how the Constitution works.”

U.S. District Judge Matthew Brann of the Middle District of Pennsylvania on Saturday evening dismissed the lawsuit Trump v. Boockvar, which essentially requested that the judge dismiss 6.8 million votes over a policy that Pennsylvania Secretary of State Kathy Boockvar imposed allowing county boards of election to decide whether voters could cure defective ballots. The campaign argued that, since several boards in Republican majority counties decided against allowing voters to cure defective ballots while others in Democratic majority counties took advantage of the decision, the policy violated the equal protection clause and the Republican vote was diluted.