SEASIDE, Ore. -- A 13-year veteran of the Seaside Police Department was shot and killed in downtown Seaside Friday night, according to Seaside police.

He was identified as Sgt. Jason Goodding, a married father of two school-age daughters. Goodding, 39, graduated from Sherwood High School and Portland State University.

"He will be sorely missed," said Clatsop County Sheriff Tom Bergin, who added that Goodding was also his neighbor. "He is the kind of guy everyone would have wanted to be their neighbor, their friend and their coworker."

Watch: Press conference at Seaside

The shooting occurred at about 9:20 p.m.

According to authorities, Goodding and another officer, who was not injured, attempted to serve a felony warrant on Phillip Ferry, 55, in the 300 block of Broadway outside of the Pig 'N Pancake restaurant. Authorities said that Ferry would not show his hands and that the second officer used a Taser to try and subdue the suspect. Both officers were wearing their police uniforms.

The attempt failed to subdue the suspect who then produced a gun and fired one shot that struck Goodding.The other officer returned fire three times, striking Ferry, who was killed.

"It appears the the shooting of Mr. Ferry was justified," said Clatsop County District Attorney Josh Marquis.

Photos: Officer-involved shooting in downtown Seaside

The street was closed overnight while authorities investigated but has since reopened.

Ferry was well-known to local authorities and had a "vast record," said Bergin. According to eCourt documents, Ferry had 45 counts on his record.

Previous mugshot of Phillip Ferry

Witnesses told KGW that the suspect appeared to be under the influence of some substance and was yelling unknown statements at the time. Marquis said authorities know of at least one witness to the incident who they urged to come forward.

Marquis said that this appears to be the first time in at least 30 years that a Clatsop County law enforcement officer has been killed in the line of duty.

Oregon State Police will investigate the shooting with assistance from the Clatsop County Major Crime Team.

A vigil organized by the family is scheduled to begin at 6:30 p.m. Sunday at Broadway Field in Seaside.

The Oregon Fallen Badge Foundation has set up a donation fund for Goodding's family on its website. Click on the "donate to OFBF" link on the home page and then enter "for the Goodding family" into the memo line of the PayPal donation page.

More top stories:

Oregon pet-leasing company accused of killing adoptable dogs

Vanished in Oregon: The five-year search for fugitive David Durham

Air at SE Portland schools to be tested after toxins detected

Follow us on Facebook for the latest breaking news updates

Watch live or check weather & traffic updates on the go with the KGW News app.