Complex sentence: The Army and Navy had also formed such teams, but they had used their identities to do some illegal activities.
Split into simpler sentences: The Army and Navy had also formed such teams. But they had used their identities to do some illegal activities.