This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

A man was shot dead after firing on officers and shooting a police dog in the face following a probation search in Anaheim on Thursday, authorities said.

The incident began at 1:45 p.m. when two Orange County probation officers approached a home in the 1100 block of Mayfair Avenue (map) to do a home check. When the officers neared the residence, they spotted their probationer with two unidentified men, who ran away.

When one officer looked down an alley to see where the men had run, one of the fleeing men fired three or four rounds at the officer, according to Anaheim Police Department Lt. Tim Schmidt.

The officer retreated, took cover and was fired upon again, Schmidt said. When the officer rejoined his partner at their patrol car, the man fired on both officers, the lieutenant said.

SWAT police officers were called in, and a perimeter was established.

During a search with SWAT officers, a police K-9 found one of the men hiding near a trash can. Then man then fired on the dog and at officers, Schmidt said.

Officers shot the man, killing him, at about 3:15 p.m., Schmidt said.

That shooting occurred within a few hundred yards of the original spot where probation officers were fired on, Schmidt said.

The dog, identified as “Bruno,” was taken into surgery at an animal hospital in Anaheim Hills, Schmidt said. The animal is 7 years old and has been with the department for about five years.

Update: Bruno still in surgery. Round entered face and is lodged in his chest. Thank you for your support. — Anaheim PD (@AnaheimPD) March 21, 2014

Bruno was out of surgery just after 9 p.m. and was expected to survive, according to a tweet by Anaheim PD.

Officials said the round entered his chest, requiring surgeons to remove part of his lung.

Officers were still on the scene at 6 p.m., aerial video showed.

Yellow crime scene tape was posted in several areas, and police appeared to be focused near an apartment building on Mayfair Avenue.

The public was being kept from the scene, aerial video showed.

The probationer was in custody, but the other man who fired on probation officers was not, authorities said.

The man who was fatally shot had not been identified.

KTLA’s Chip Yost, Nidia Becerra Tijerino and Melissa Pamer contributed to this article.

Click here for information on how to donate money to help pay for Bruno’s care.