Trial highlights ties among militants