The military said the soldier was killed by small-arms fire on Sunday .