An Alaska police officer was “ambushed” and shot multiple times in downtown Anchorage early Saturday morning, according to the Anchorage Police Department.

The officer is undergoing emergency surgery and expected to survive, while the man suspected of shooting the officer was killed at the scene, police said.

“It’s horrific. It is really sad,” Anchorage Police Chief Chris Tolley said in a recorded statement about the attack, noting that he had seen video of the incident. Although the department did not release details about the wounded officer, Tolley referred to him as a man.

Police said that, around 4:30 a.m. Saturday, an officer in a patrol car responded to a report of a theft suspect on foot in downtown Anchorage.

As that officer was making a stop, a man with a gun walked toward the patrol car and began firing, police said.

The officer got out of his vehicle and returned fire; the shooter continued to fire as the officer was on the ground, Anchorage police spokeswoman Jennifer Castro told the Associated Press. Police said the officer was struck multiple times.

As shots were being fired, another Anchorage police officer arrived and also shot at the gunman.

Several other officers later gave emergency aid at the scene to both the gunman and the first officer. The man was declared dead at the scene, police said.

Tolley, the police chief, said the department is concerned about the officer who was shot “but we’re hoping the best.”

“It is very troubling, but I’m so proud of our officers in that they were able to apprehend this individual to keep anyone else from being hurt,” Tolley said. “These men and woman are out on the streets of Anchorage each and every day and night protecting our citizens.”

Following department policy, both officers who fired their weapons have been placed on four days of administrative leave and their names will not be released for three days. Police said state and internal investigators will determine if the officers’ use of force was justified.

The incident follows several recent high-profile police officer shootings. Last month, a man wearing body armor killed two officers in Palm Springs, Calif., as they responded to a domestic disturbance call. Also in October, a Los Angeles County Sheriff’s sergeant was fatally shot while responding to a burglary call in Lancaster, Calif.

In July, five police officers in Dallas were killed and seven others were wounded by a lone gunman.

According to the National Law Enforcement Officers Memorial Fund, 67 law enforcement officers have died in the line of duty this year as of July 20, an increase over the 62 officers killed in the same period last year. The nonprofit group’s midyear report noted a troubling increase in some of those deaths occurring in “ambush” attacks.

Read more:

Two officers — one a new mother, another close to retiring — dead after Palm Springs shooting

‘Unprovoked, violent, intentional act’: Video shows car plowing into Phoenix police officers

Mother of three survives car crash — only to be gunned down by the other driver, police say