WASHINGTON, DC - FEBRUARY 01:  Roger Stone, a former adviser to U.S. President Donald Trump, leaves the Prettyman United States Courthouse after a hearing February 1, 2019 in Washington, DC. A self-described political dirty-trickster, Stone  is facing charges from Special Counsel Robert Mueller that he lied to Congress and engaged in witness tampering. He claims he has been falsely accused and has plead not guilty.  (Photo by Mark Wilson/Getty Images)
WASHINGTON, DC - FEBRUARY 01: Roger Stone, a former adviser to U.S. President Donald Trump, leaves the Prettyman United States Courthouse after a hearing February 1, 2019 in Washington, DC. A self-described political dirty-trickster, Stone is facing charges from Special Counsel Robert Mueller that he lied to Congress and engaged in witness tampering. He claims he has been falsely accused and has plead not guilty. (Photo by Mark Wilson/Getty Images)
PHOTO: Mark Wilson/Getty Images
Now playing
01:53
Stone apologizes to judge for Instagram post
Nuclear codes Biden Trump
Nuclear codes Biden Trump
PHOTO: Getty Images
Now playing
02:22
From Trump to Biden: How transfer of nuclear codes will work
Now playing
04:22
Trump's influential supporters spoke of what was coming before riot
McCarthy
McCarthy
PHOTO: CNN
Now playing
01:40
'Far too close:' Army secretary reveals sobering details on riot
Sen. Graham/Erin Burnett split
Sen. Graham/Erin Burnett split
PHOTO: Fox News/CNN
Now playing
04:08
Burnett: Sen. Graham became 'sycophant in chief' under Trump
US President Donald Trump waves to the media as he makes his way to board Air Force One before departing from Andrews Air Force Base in Maryland on January 12, 2021. - Trump is traveling to Texas to review his border wall project. (Photo by MANDEL NGAN / AFP) (Photo by MANDEL NGAN/AFP via Getty Images)
US President Donald Trump waves to the media as he makes his way to board Air Force One before departing from Andrews Air Force Base in Maryland on January 12, 2021. - Trump is traveling to Texas to review his border wall project. (Photo by MANDEL NGAN / AFP) (Photo by MANDEL NGAN/AFP via Getty Images)
PHOTO: Mandel Ngan/AFP/Getty Images
Now playing
03:44
Trump mostly in seclusion during final days of presidency
PHOTO: KamalaHarris/Twitter
Now playing
01:28
Kamala Harris says goodbye to California Senate seat
PHOTO: @FLOTUS
Now playing
02:51
Watch Melania Trump's farewell speech
UNITED STATES - JANUARY 4: Rep. Lauren Boebert, R-Colo., is seen during a group photo with freshmen members of the House Republican Conference on the House steps of the Capitol on Monday, January 4, 2021. (Photo By Tom Williams/CQ-Roll Call, Inc via Getty Images)
UNITED STATES - JANUARY 4: Rep. Lauren Boebert, R-Colo., is seen during a group photo with freshmen members of the House Republican Conference on the House steps of the Capitol on Monday, January 4, 2021. (Photo By Tom Williams/CQ-Roll Call, Inc via Getty Images)
PHOTO: Tom Williams/CQ-Roll Call, Inc/Getty Images
Now playing
02:49
GOP lawmaker accused of giving 'reconnaissance' tour prior to Capitol riot
PHOTO: CNN
Now playing
04:36
Former FBI adviser calls Trump a charismatic spark for extremism
Andrew McCabe 0118
Andrew McCabe 0118
PHOTO: CNN
Now playing
02:01
Andrew McCabe compares Capitol attack to Benghazi attack
Now playing
03:07
Avlon: Here's a way to turn down the 'MAGAphone'
PHOTO: CNN
Now playing
02:09
Lawmaker slams riot: 'Damned if I'll let it' shake faith in democracy
PHOTO: CNN
Now playing
04:01
Raskin: I'm not losing my son in 2020 and my country in 2021
Now playing
01:19
Sen. King: Cutting off Trump's intel access should be easy decision for Biden
A sign for the National Security Agency (NSA), US Cyber Command and Central Security Service, is seen near the visitor
A sign for the National Security Agency (NSA), US Cyber Command and Central Security Service, is seen near the visitor's entrance to the headquarters of the National Security Agency (NSA) after a shooting incident at the entrance in Fort Meade, Maryland, February 14, 2018. - Shots were fired early Wednesday at the ultra-secret National Security Agency, the US electronic spying agency outside Washington, leaving one person injured, officials said. Aerial footage of the scene from NBC News showed a black SUV with numerous bullet holes in its windshield crashed into concrete barriers at the main entrance to the NSA's headquarters in Fort Meade, Maryland. (Photo by SAUL LOEB / AFP) (Photo by SAUL LOEB/AFP via Getty Images)
PHOTO: Saul Loeb/AFP/Getty Images
Now playing
01:31
Christopher Miller orders NSA chief to install Trump loyalist as agency's top lawyer
(CNN) —  

Roger Stone formally apologized Monday for his controversial Instagram posts about federal district court Judge Amy Berman Jackson in a letter filed with the court.

Jackson is overseeing Stone’s criminal case in DC District Court.

A photo was posted and then deleted from Stone’s Instagram account showing Jackson next to cross hairs, mimicking the scope of a rifle. The cross hairs were in the background of the photo, and not directly over the judge. He later deleted that post, posting the same photo without the crosshairs and then deleted that post as well. In the post, Stone said the judge would be presiding over a “show trial.”

“Please inform the Court that the photograph and comment today was improper and should not have been posted. I had no intention of disrespecting the Court and humbly apologize to the Court for the transgression,” Stone, a longtime associate of President Donald Trump, wrote in the letter.

The photo appears to come from a conspiracy website that features pictures of others, including former Secretary of State Hillary Clinton and Democratic Rep. Adam Schiff against the same background.

Stone told CNN a “volunteer” who works on his social media posted the initial Instagram post and the photo was “random,” and not “meant anyway to threaten the judge.” Stone says he “ordered it taken down because it was open to misinterpretation.”

Stone wrote in the caption of the second post that his upcoming trial before the judge is a “show trial,” and accused special counsel Robert Mueller of using “legal trickery” to ensure Jackson, who he notes was appointed by former President Barack Obama, presides over his case. That post was then deleted.

The posts are not likely to sit well with Jackson, who last week imposed a gag order on attorneys and parties to the case. She did not completely restrict Stone’s ability to speak, but he is not allowed to speak in and around the courthouse. Jackson noted to Stone on Friday that “there will be no additional restrictions imposed on the defendant’s public statements or appearances at this time.”

After the second photo was deleted, Stone posted a statement on Instagram, “A photo of Judge Jackson posted on my Instagram has been misinterpreted. This was a random photo taken from the Internet. Any inference that this was meant to somehow threaten the Judge or disrespect court is categorically false.”

In another post, Stone writes, “What some say are cross hairs are in fact the logo of the organization that originally posted it something called corruption central. They use the logo in many photos.”

Stone was indicted in January by a grand jury on charges brought forward by Mueller, who alleges that Stone sought stolen emails from WikiLeaks that could have damaged Trump’s opponents in the 2016 presidential election while in coordination with senior Trump campaign officials.

Mueller is investigating Russian interference in the 2016 election and whether Trump associates were involved.

Stone was indicted by a federal grand jury in the District of Columbia on seven counts: one count of obstruction of an official proceeding, five counts of false statements and one count of witness tampering.

He was arrested by the FBI at his home in Florida, and then released on a $250,000 signature bond.

Stone downplayed his indictment, telling CNN’s Chris Cuomo it was a “process crime” and said it does not show collusion between Wikileaks or the Russian government.