A US federal judge overseeing the case that alleged former president Donald illegally sought to overturn the 2020 election, has agreed to dismiss the charges following a request from special counsel Jack Smith, local media reported.