A former New Hampshire State Police trooper who now lives in Maine is the subject of a federal investigation into how he obtained forged or altered law enforcement badges and numerous fake driver’s licenses in his name from multiple states, according to court documents.

Wayne Perreault of Westbrook, who resigned as a New Hampshire trooper in 2009, worked from 2011 to 2013 as a civilian police adviser of the U.S. government abroad. When police searched his apartment last month in an unrelated matter, they found four unauthorized federal badges bearing his name, two New Hampshire State Police badges, four New Hampshire driver’s licenses and “dozens” of driver’s licenses from multiple states with his picture, according to federal court records unsealed Friday.

The records in U.S. District Court in Portland include a federal investigator’s search warrant application and supporting affidavit. They detail how police in New Hampshire first began investigating Perreault, then Westbrook police and then the U.S. State Department’s Diplomatic Security Service.

Perreault, whose age was not listed, has not been charged in connection with the badges and driver’s licenses that police found in his apartment at 115 Saco St. on April 13. It is unclear whether he will be charged.

Assistant U.S. Attorney Craig Wolff, the federal prosecutor assigned to the case, declined to comment late Friday afternoon.

Attempts to reach Perreault were unsuccessful. Federal court records do not indicate whether he has an attorney in Maine.

The thread leading to the investigation started in August 2014, when Perreault was convicted in New Hampshire of misdemeanor assault and criminal mischief for an incident involving his estranged wife. He is now appealing that conviction. A police detective in Rochester, New Hampshire, began investigating what he believed to be forged documents that Perreault filed in the appeal, which suggested he had deleted data from his wife’s tablet computer, according to an affidavit filed by Andrew Shea, a special agent with the Diplomatic Security Service.

Westbrook police executed the search warrant April 13 expecting to help the New Hampshire detective with his investigation into possible crimes of evidence tampering, stalking and falsifying evidence. But what Westbrook police found led them to seize numerous computers and electronic devices from Perreault and contact federal authorities.

A federal search warrant that Shea applied for was issued on April 30, allowing investigators to examine Perreault’s electronic devices. That warrant was returned on May 7 after being executed, but court records do not indicate what investigators discovered on the devices.

Shea investigated in particular whether Perreault should have been allowed to have two special agent badges from the State Department’s Bureau of International Narcotics and Law Enforcement Affairs, one Diplomatic Security Service badge, a Defense Department access card and the New Hampshire State Police badges. Officials in each of those agencies confirmed Perreault should not have had them, Shea wrote.

“I have communicated with personnel from (the Bureau of International Narcotics and Law Enforcement Affairs) regarding Perreault’s employment with the agency. I have been informed that in June 2011, Perreault was hired through a temporary civilian appointment as a senior police advisor through the Iraqi strategic partnership office of the U.S. State Department. He was later rehired as a senior criminal investigator/crime scene advisor. His position was eliminated in March 2013,” Shea wrote.