Alleged leaker Jack Teixeira searched his government computer for "leak," prosecutors say.
Teixeira was arrested Thursday in connection with the top secret military document leak.
According to the criminal complaint, Teixeira, 21, completed the search on classified networks on April 6.
The documents contain secret information about US allies, like Israel, Egypt, and South Korea, as well as adversaries, like North Korea, China, and Russia.
That clearance would have given him access to the classified documents leaked online.