U.S. prosecutors said Donald Trump was acting outside the scope of his duties as president when he pressured state officials and then-U.S. vice president Mike Pence to try to overturn his 2020 election defeat, in a court filing made public on Wednesday.