A Tennessee Bureau of Investigation report has cleared an officer of wrongdoing in the shooting death of a man who pulled out a pellet gun that the officer says he mistook for a handgun.

Sumner County District Attorney General Ray Whitley said during a news conference Tuesday that Master Patrol Officer Hunter Raymond was "totally justified" when he shot 22-year-old Steven Dodd in the leg on Aug. 25 in Hendersonville.

Police later learned that Dodd was holding a pellet gun, not a handgun.

Raymond says he shot Dodd after the man pulled out a gun while standing on the outside ledge of a bridge over a road. Raymond says he shot Dodd after Dodd aimed a weapon at another officer. Dodd fell and later died at a hospital.