WATCH: The moment that nearly caused "two funerals"

KNOX COUNTY, Tenn. (WVLT) -- The Knox County Sheriff's Office released video of an officer-involved shooting after a shot was fired when a deputy performed a check at a residence on W. Emory Road.

The incident took place on January 4, when a deputy responded to a residence in the 3900 block of West Emory Road. When the officer arrived, he was confronted with an individual holding a weapon.

"We could have easily had two funerals last week and I'm so thankful that didn't happen," Knox County Sheriff Tom Spangler said.

In a news conference Friday, Spangler explained to the media why the shooting was justified and the steps the officer took during the incident.

"When you least expect it, expect it," Spangler said. "Because the time that you let your guard down is when that happens."

Spangler explained he wanted to educate the public on the incident and use this as a training opportunity.

“That way we can show you what that officer went through, and what that home owner went through,” Spangler said.

During the incident in question, Spangler said a home alarm was the reason the officer was performing a security check. Spangler added the homeowner was a KCSO employee as a property clerk.

Body cam footage shows the officer examining the property. When he approached a door on the backside of the house, the homeowner opened the door brandishing a gun.

Spangler explained the officer believed the home was being robbed, while the homeowner believed the officer was a burglar.

"I think both people did what they thought was right," Spangler said.

Spangler added that was the first day working alone for the officer involved in the incident. The officer was not punished for his actions in the incident. Both KCSO employees are back on the job, according to the Sheriff.