Senate Majority Leader Mitch McConnell (R-KY) on Monday declined to congratulate Joe Biden or recognize him as the president-elect, noting President Donald Trump has a right to challenge voting irregularities in court.

“Obviously no states have yet certified their election results. We have at least one or two states that are already on track for a recount and I believe the president may have legal challenges underway in at least five states,” McConnell said in a lengthy floor statement, according to The Hill.

He added that “in the United States of America, all legal ballots must be counted, any illegal ballots not be counted,” and that the process should be “transparent or observable by all sides” and that the courts would handle disputes.

“President Trump is 100-percent within his rights to look into allegations of irregularities and weigh his legal options,” McConnell added, pointing out that Democrats contested the results in Florida in the 2000 presidential election, when a landmark Supreme Court decision stopped a recount, handing the presidency to George W. Bush.

“We have the tools and institutions we need to address any concerns. The president has every right to look into allegations and request recounts under the law,” he said, according to The Hill.

The GOP leader did not say there had been voter fraud in the election or suggest the election had been stolen from Trump.

McConnell argued that media organizations that called the race for Biden on Saturday have no constitutional role to decide the winner.

“The Constitution gives no role in this process to wealthy media corporations. The projections and commentary of the press do not get veto power over the legal rights of any citizen, including the president of the United States,” he said.

McConnell warned Democrats not to demand Trump’s concession of the presidency until the results were finalized by state officials around the country.

“Let’s not have any lectures, no lectures, about how the president should immediately, cheerfully accept preliminary election results from the same characters who just spent four years refusing to accept the validity of the last election and who insinuated this one would be illegitimate too if they lost again — only if they lost,” he said, referring to Hillary Clinton’s statement earlier this year that Biden “should not concede under any circumstances” if he was behind in the initial count.