A Federal Aviation Administration employee in New Hampshire was arrested for allegedly threatening to kill President Donald Trump, whom he criticized for the war against Iran, the U.S. attorney’s office in Concord said Tuesday.

Dean DelleChiaie, 35, who was arrested Monday, allegedly conducted internet searches on his government work computer in late January for terms that drew the attention of the U.S. Secret Service, according to the U.S. attorney’s office.

Those subjects included “how to get a gun into a federal facility, previous assassination attempts against the President, the percentage of the population that wants the President dead, and the phrase ‘I am going to kill Donald John Trump,’” the office said.

DelleChiaie admitted to the Secret Service in early February that he conducted those searches and that he owned three firearms, including one he kept in the safe of his Nashua, New Hampshire, home, the prosecutor’s office said.

Then, on April 21, “DelleChiaie allegedly used his personal email to transmit a threat across state lines to the White House’s public facing email address,” the office said