The events are true, but sadly the truth is much sadder.
After Massoud was killed just before 9/11 there was a power vacuum, Hekmatar was the natural choice to change Massouds forces who were fighting the Taliban into fighting the US. Hekmatar took partial control and was a proxy and unknowing CIA asset through re-backed intelligence, Hekmatar had support, high in that support was Ahmed Shah (target in the film) he was not a CIA asset and was causing 'their' man problems as he too was more aligned to Massouds anti-Taliban stance, that was not what the CIA wanted so they had to eliminate Ahmed Shah. So these guys were killed and wounded trying to kill a man that would have changed the target from US forces to the Taliban.
Afghanistan has never invaded any country, it has no connection no matter how tenuous you accept to the events of 9/11 (the 'reason' the US were there) and almost all the fighters prior to invasion were fighting the Taliban rather than members of it.
Lions are still led by donkeys, 100 years after WW1.