MONTESANO, Wash. — A man stabbed a judge and shot a sheriff’s deputy with her own weapon in a courthouse struggle Friday, said authorities who were searching for the assailant.

The suspect might still have the officer’s gun and was last seen running from the Grays Harbor County Courthouse, said Undersheriff Rick Scott. The motive for the attack in the coastal town of Montesano, about 90 miles southwest of Seattle, wasn’t clear.

As many as 100 officers joined in the manhunt at its peak, Scott said, with the State Patrol and officers from four surrounding counties assisting.

The search continued late Friday night, with officers responding to tips about possible suspicious people and hitchhikers.

Judge David Edwards and Deputy Polly Davin were treated and released from a hospital hours after the attack, which prompted a lockdown of the small town of about 4,000.