She was the first journalist to be killed in Afghanistan since the end of the war in 2001 .