Jack Techera, 21, is accused of orchestrating the biggest leak of classified U.S. documents in a decade.

He is charged with two charges carrying a maximum sentence of 10 years in prison. A judge is expected on Friday to rule on the prosecution's request to continue Techira's detention. Despite multiple warnings about the mishandling of classified information, Tecera was still on security clearance at the time of his arrest, according to FBI testimony. He was arrested in April after a week-long investigation.