The judges said they were “confirming the validity of the election of Andrzej Sebastian Duda as President of the Republic of Poland on July 12, 2020."
Over 5,800 legal challenges to the election were submitted to the Supreme Court, state news agency PAP reported.
Ninety-three of these were fully or partially justified, but none undermined the final result of the ballot, the court decided.
Duda garnered 51.03 percent of the vote last month, while opposition-backed challenger Rafał Trzaskowski, the mayor of Warsaw, won 48.97 percent, the National Electoral Commission (PKW) said.
In the first round of voting in the presidential ballot on June 28, no candidate won an outright majority, meaning a second round had to be held.
Duda is scheduled to be sworn into his second term in office before both houses of Poland’s parliament on Thursday.