Navy veteran Thomas Edward Caldwell led a band of the Oath Keepers extremist group to Washington on Jan. 6 to storm the U.S. Capitol, federal prosecutors allege, helping to mastermind a violent plot to stop lawmakers from certifying Joe Biden’s presidential victory.

But Caldwell’s attorney, Thomas K. Plofchan, says he isn’t just a retired lieutenant commander. Caldwell also had a top-secret security clearance and served as a section chief for the FBI after leaving the armed forces in 2009, Plofchan said.

Those details were revealed in a motion filed Monday asking a judge to release Caldwell from custody, citing his long military career and ability to pass vetting for the high-security clearance. His attorney also said that Caldwell has disabilities from his military service that would have prevented him from storming the Capitol.

The FBI did not immediately return an inquiry late Monday about Caldwell’s past employment status. Caldwell’s filing, which says he was paid as a GS-12, does not explain how he could have served as an FBI section chief while also being classified at a significantly lower federal pay scale than typically comes with such a position.

The claims about Caldwell’s high-security clearance and FBI service add to concerns about extremism in the military and law enforcement. The indictments against numerous alleged rioters with military and police connections have led local agencies to open investigations and the Pentagon to order each military branch to dedicate time to addressing the problem in the coming months.

“The presence of law enforcement officers in the riot reinforces and substantiates the greatest fears many in the public had in the nature of law enforcement in the United States,” Michael German, a former FBI special agent and fellow with the Brennan Center for Justice’s Liberty and National Security Program, told The Washington Post.

“It’s incumbent on the Justice Department, if it wants to restore that confidence, to act quickly” to hold the most violent Capitol rioters accountable, he added.

Caldwell lives in Berryville, Va., and had been involved in local GOP politics. He was arrested on Jan. 19 in Virginia on charges of conspiracy, destruction of government property, obstruction of an official proceeding, and violent entry or disorderly conduct.

The government alleges that Caldwell, whom an FBI agent identified as having “a leadership role in the Oath Keepers,” sent Facebook messages coordinating with members of the self-styled militia and sharing video from within the Capitol.

“Us storming the castle,” Caldwell allegedly said in one message that accompanied a video that showed a crowd inside the Capitol, according to the criminal complaint. “Please share. Sharon was right with me! I am such an instigator!”

The Post obtained hours of video footage, some exclusively, and placed it within a digital 3-D model of the building. (TWP)

His case is one of several that prosecutors are building against the Oath Keepers and the Proud Boys, a far-right group with a history of violence, to make the case that the assault on Congress was premeditated and organized by extremists. Federal prosecutors are considering whether to file sedition charges against some of the accused rioters, the Associated Press reported.

In Monday’s motion for bond, Plofchan denied that his client is a member of the Oath Keepers.

“Caldwell is not a member of the organization, nor has he ever been a member of the organization, and if he were, such membership would be protected activity under the First Amendment,” Plofchan wrote.

The motion also questioned whether the Facebook messages Caldwell allegedly posted prove his involvement in the Jan. 6 riot, arguing that he was “merely relaying news that was circulating through the crowd that some people were inside.”

Caldwell served as an intelligence officer in the Navy Reserve for 19 years and retired in 1995, according to his service record. It is unclear from the records if his retirement before the typical 20-year mark was due to medical issues.

Plofchan said Caldwell worked as a section chief in the FBI from 2009 to 2010 after retiring from military service. His attorney listed multiple service awards Caldwell earned and also said he has had a “top-secret security clearance” since 1979.

After leaving the FBI, Caldwell founded a consulting firm that has done business with the Drug Enforcement Administration, the Department of Housing and Urban Development, the Coast Guard and the Army Personnel Command, the motion said.

Caldwell has several service-related injuries and other disabilities, his attorney said, including injuries to his shoulders, degenerative lumbar disc disease and chronic knee pain. He underwent spinal fusion surgery in 2010 that failed, the filing said, and has post-traumatic stress disorder.

“Moving, sitting for extended periods of time, lifting, carrying, and other physical activities are extremely painful and Caldwell is limited in his ability to engage in them,” the motion said.

His attorney also said that witnesses “will testify that [Caldwell] never entered the U.S. Capitol Building and that his physical limitations would have prevented him from forcibly entering any building or storming past any barrier.”

Plofchan noted that prosecutors did not include photos of Caldwell in the criminal complaint, although two co-defendants in the case are shown in photos.

“The Government has not identified any photo or video that shows Caldwell in the U.S. Capitol Building, on the grounds after overcoming any barrier,” the motion said.

Alex Horton contributed to this report.