The local DA and a jury will certainly be in a position to decide whether you acted legally or not.
Oh....”certainly”?
The conditions I described and you repeated, don’t put the DA or the jury in a position to decide anything with any more certainty than the information provided by the victim.
The victim is under no obligation to assert the armed threat ended with 2 shots to the leg.
“Your Honor, the gun was in his hand, not between his legs.”