Jack Teixeira, the Massachusetts Air National Guardsman accused of leaking highly classified military documents, was indicted by a federal grand jury on Thursday. 

Teixeira, 21, of North Dighton, Massachusetts, faces six counts in the indictment of willful retention and transmission of national defense information.

He was arrested on April 13 on charges of sharing highly classified military documents about Russia's war in Ukraine and other top national security issues in a chat room on Discord, a social media platform that started as a hangout for gamers. 

U.S. District Court Magistrate Judge David H. Hennessy granted the government's motion for detention on May 19, 2023.

SPACE FORCE GENERAL DECRIES ‘ANTI-LGBTQ+’ LAWS AT PENTAGON PRIDE EVENT, CLAIMS THEY AFFECT HIRING DECISIONS

Jack Teixeira image over Pentagon

This photo illustration created on April 13, 2023, shows the suspect, national guardsman Jack Teixeira, reflected in an image of the Pentagon in Washington, DC.  (Stefani REYNOLDS / AFP)

"Individuals granted security clearances are entrusted to protect classified information and safeguard our nation’s secrets. The allegations in today’s indictment reveal a serious violation of that trust," FBI Director Christopher Wray said in a statement. "The FBI and our partners remain firm in our commitment to hold accountable those who endanger our national security and the security of our allies around the world."

The breach exposed secret assessments of Russia's war in Ukraine, the capabilities and geopolitical interests of other nations and other national security issues.

JACK TEIXEIRA CASE: JUDGE GRANTS LAWYER'S REQUEST TO WITHDRAW AS COUNSEL

He was arrested in April on charges of sharing highly classified military documents about Russia's war in Ukraine and other top national security issues in a chat room on Discord, a social media platform that started as a hangout for gamers. The stunning breach exposed to the world unvarnished secret assessments of Russia's war in Ukraine, the capabilities and geopolitical interests of other nations and other national security issues.

Jack Teixeira court appearance sketch

Massachusetts Air National Guardsman Jack Teixeira, center, is seated as defense attorney Brendan Kelley stands and speaks, at right, and his father Jack Michael Teixeira is seated in the witness stand, during a detention hearing in federal court in Worcester, Massachusetts.  (Margaret Small via AP)

A judge last month ordered him to remain jailed as he awaits trial, saying that releasing Teixeira would pose a risk that he would attempt to flee the country or obstruct justice.

His family has expressed support for him, and his lawyers had pressed the judge to release him to his father, saying he has no criminal history.

CLICK HERE TO GET THE FOX NEWS APP

Teixeira faces more than a decade in prison and a fine of up to $250,000 if found guilty. 

The Associated Press contributed to this report.