A newly released surveillance video shows the moment a gunman was killed and two officers were wounded during a gunfight in an Arizona Wal-Mart.

The 36-second clip, released by the Chandler Police Department, shows how a “seemingly routine” police response to a reported trespasser turned deadly last April — when the suspect suddenly opened fire on the officers.

The 24-year-old suspect, Mitchell Oakley, squeezed off several shots as soon as Officers Joshua Pueblo and Daniel Colwell arrived at the store, the Arizona Republic reported.

The video shows Colwell diving across the floor as Oakley, a convicted felon, dashes out of the store. The officer then returns fire as Oakley sprints through the exit and bullets shatter the storefront door.

The video then shows another angle of Oakley storming out of the store with a gun in his right hand, with Colwell following just behind.

Police officials said both officers were wearing ballistic vests, but Pueblo was shot in the face. Colwell took two bullets to his vest, knocking him to the floor, before he flipped over and fired back at Oakley.

He was released from the hospital in a wheelchair just one week after the shooting, ABC15.com reports.

Police officials created donation accounts for both officers last April. Pueblo, who was released from the hospital one week after the shooting, remains on medical leave while recovering. Colwell has since returned to duty, Detective Seth Tyler said.

Meanwhile, Oakley’s parents told the Arizona Republic the incident was out of the norm for their son, who had never previously owned a gun or shot firearms.

“It’s a shock,” Laura Oakley told the newspaper. “I never would have expected it.”

Chandler Police Chief Sean Duggan told reporters in April that the incident was another example of how dangerous policing can be.

“Our officers responded to what some may call a routine call, even though we realized that there is no such thing as a routine call,” Duggan said, according to KTAR.com. “But when they arrived, as they approached, they were shot multiple times in a matter of seconds. A seemingly routine call turned into a deadly encounter within a split-second. At that point, the officers drew their guns and they shot and killed the suspect.”