he explained that she appeared to be part of the group of terrorists that he and his team had been investigating , but explained that she turned out to have infiltrated the group to get close to their leader .