WINDHAM — A former Pittsfield police officer who was last year charged with stalking and domestic violence was arrested again on Friday, this time for impersonating a police officer.

State police said that a trooper stopped Brandon Walker, 42, of Pittsfield on I-93 in Windham due to a defective equipment violation.

Walker allegedly showed the trooper an official police identification, but upon investigation the trooper learned that he was no longer an officer and was not authorized to have the credentials.

Walker was arrested for impersonating an officer and was released on personal recognizance. He is scheduled to appear Dec. 14 at Rockingham Superior Court.

The incident is Walker’s latest run-in with police.

He was arrested last year by Epping police on charges he assaulted his girlfriend and then allegedly violated a protective order by stalking her through a text message.

All of the charges were dropped with the exception of a breach of bail conditions charge, for which he was found guilty in March.

Prosecutor Kevin Coyle said the assault and stalking charges were dropped because the victim was not cooperative.

“We could prove the breach of bail and we moved forward with that,” he said Thursday.

Coyle said Walker also had to give up his police certification.

Walker began work for the Pittsfield Police Department in 2013, but was placed on unpaid administrative leave after he was arrested on Sept. 18, 2017.

Walker could not be reached for comment Friday afternoon.

Union Leader correspondent Jason Schreiber contributed to this story.