Jordan Hamlett, 32, committed "numerous violations," including hacking into email and social media accounts of a man at the request of the man's wife and traveling out of state without approval, prosecutors wrote in court records unsealed Friday.
Hamlett also accessed the internet with devices that are not monitored, prosecutors said.
Last year, Hamlett tried unsuccessfully to obtain Mr. Trump's tax returns using a U.S. Department of Education financial aid website, prosecutors said. Federal agents arrested him on a charge that he misused a Social Security number in the effort.
Hamlett's attorney accused agents of tricking his client by luring him to a Baton Rouge hotel where they questioned him on Oct. 27, less than two weeks before the election.
At that time, the agents did not know whether Hamlett had been successful in obtaining Mr. Trump's tax returns, prosecutors said in court records. The agents feared a public release of the documents could influence the election, according to a transcript of testimony obtained by The Associated Press.Read more at CBS News