Trump filed the lawsuit months after his first term ended, calling the action “illegal, shameful censorship of the American people.”