Roger Stone – a former advisor to Donald Trump – has been gagged by a judge after he admitted posting an image on social media that showed her next to a set of cross-hairs.

The 66-year-old veteran political operative and celebrated enforcer of dirty drinks, told the judge he acted in error when he posted the image.

He asked her not to alter his bail conditions relating to charges brought by special counsel Robert Mueller, saying: “I am kicking myself over my own stupidity.”

But federal judge Amy Berman Jackson, deciding what sanction should be imposed on Mr Stone, said she was not taken in by his appeals.

She said he would “pose a danger” to others in the case unless she modified the terms of his release to include the gag order. While she decided he did not need to go to jail, she warned him he would be sent there if he broke the rules again.

Trump's inner circle: Meet the members of the US president's cabinet Show all 20 1 /20 Trump's inner circle: Meet the members of the US president's cabinet Trump's inner circle: Meet the members of the US president's cabinet Donald Trump's Cabinet Donald Trump's Cabinet is one the richest in American history, filled with billionaires, conservatives and several career politicians. AFP/Getty Trump's inner circle: Meet the members of the US president's cabinet Mike Pence US Vice President Mike Pence has defended Donald Trump throughout his presidency while walking a fine line to avoid any public involvement in major scandals. AFP/Getty Trump's inner circle: Meet the members of the US president's cabinet Mike Pompeo Secretary of State Mike Pompeo replaced Donald Trump's previous appointment to the post, Rex Tillerson, and has led talks with North Korea in establishing high-profile summits between the president and Kim Jong Un. Getty Trump's inner circle: Meet the members of the US president's cabinet Wilbur Ross Secretary of Commerce Wibur Ross raised controversy when he was accused of falsely claiming to have sold stock in a bank and violated a government ethics agreement. AFP/Getty Trump's inner circle: Meet the members of the US president's cabinet Robert Lighthizer US Trade Representative Robert Lighthizer has been a fixture in Donald Trump's ongoing trade spat with China. AFP/Getty Trump's inner circle: Meet the members of the US president's cabinet William Barr Attorney General William Barr replaced Jeff Sessions as the nation's top cop in early 2019 and has refused to commit to recusing himself from the Russia probe despite an unsolicited memo he sent to the Justice Department decrying the investigation. EPA Trump's inner circle: Meet the members of the US president's cabinet Rick Perry Energy Secretary Rick Perry has held his post throughout Donald Trump's presidency despite previously undermining the need for the agency he now leads in past public statements. Ken Shipp / United States Department of Energy Trump's inner circle: Meet the members of the US president's cabinet Betsy DeVos Education Secretary Betsy DeVos has also held her post throughout the presidency, despite major backlash to her apparent undermining of the nationwide public school system and advocacy for charter programmes. Getty Trump's inner circle: Meet the members of the US president's cabinet Steven Mnuchin Treasury Secretary Steven Mnuchin has faced numerous controversies throughout his tenure as the head of Treasury, including costing taxpayers at least a million dollars in travel expenses. AP Trump's inner circle: Meet the members of the US president's cabinet Robert Wilkie Veterans Affairs secretary Robert Wilkie was appointed after Donald Trump's White House doctor Ronny Jackson withdrew over allegations he provided prescription drugs to patients without prescriptions. AFP/Getty Trump's inner circle: Meet the members of the US president's cabinet David Bernhardt Secretary of the Interior David Bernhardt took office in January 2019 after the resignation of Ryan Zinke after previously serving as Zinke's deputy. Before taking office Bernhardt worked for many years as a solicitor for the Department of the Interior. Tami Heilemann / United States Department of the Interior Trump's inner circle: Meet the members of the US president's cabinet Elaine Chao Transportation Secretary Elaine Chao has held her post throughout the presidency and has mostly avoided controversy, despite a report claiming her office has been in frequent coordination with her husband's, Mitch McConnell. AFP/Getty Trump's inner circle: Meet the members of the US president's cabinet Kevin McAleenan Acting Secretary of Homeland Security Kevin McAleenan took over from Kirstjen Nielsen after she resigned in April 2019. He previously worked as the executive director of the executive director of the Office of Anti Terrorism in the Customs and Border Protection agency United States Customs and Border Protection Trump's inner circle: Meet the members of the US president's cabinet Ben Carson Secretary of Housing and Urban Development Ben Carson was appointed shortly after Donald Trump took office and raised controversy over an exorbitant furnishing bill for his office. Reuters Trump's inner circle: Meet the members of the US president's cabinet Gina Haspel CIA Director Gina Haspel was appointed in 2018 and faced backlash surrounding her oversight of Guantanamo Bay. Getty Trump's inner circle: Meet the members of the US president's cabinet Dan Coats Director of National Intelligence Dan Coats could be the next person to leave Donald Trump's administration over his refuting the president's claims surrounding ISIS. Reuters Trump's inner circle: Meet the members of the US president's cabinet Sonny Perdue Agriculture Secretary Sonny Perdue has been dogged by ethics questions throughout his tenure and faced controversy when emails showed the agency appeared willing to eagerly work with lobbyists under his leadership. Reuters Trump's inner circle: Meet the members of the US president's cabinet Alex Azar Health and Human Services Secretary Alex Azar is a former pharmaceutical lobbyist and former drug company executive. Getty Trump's inner circle: Meet the members of the US president's cabinet Mick Mulvaney Acting Chief of Staff and Office of Management and Budget Director Mick Mulvaney has described himself as one of the most conservative officials in the White House. EPA Trump's inner circle: Meet the members of the US president's cabinet Robert Wilkie Secretary of State for Veterans Affairs Robert Wilkie has spent his career on Capitol Hill serving in various roles in foreign affairs and defence. He holds the rank of Lieutenant Colonel in the US Air Force Reserve. Gene Russell / United States Department of Veterans Affairs

“So no, Mr Stone, I’m not giving you another chance. I have serious doubts about whether you’ve learned any lesson at all.”

The man said to have invented the phrase “rat-f***ing” in relation to political skullduggery, was obliged to appear before Ms Jackson when he was arrested last month by FBI agents after being indicted by Mr Mueller’s team with seven charges.

He has denied allegations that he lied to congress and obstructed the House of Representative’s intelligence committee’s investigation of Russia’s alleged interference in the 2016 election, and possible collusion with the Trump campaign.

When he secured $250,000 bail over the charges, one of the conditions was that he not talk about the case.

Roger Stone arrives at court to face a Tuesday morning arraignment

Yet, Mr Stone has made numerous media appearances since his arrest. Reuters said that last week, Ms Jackson prohibited Mr Stone or his lawyers from speaking with the news media or making statements near the federal courthouse about the case, in order to reduce the risk of tainting the jury pool and harming his right to a fair trial.

But just days later, he posted a photograph of Ms Jackson next to the image that looked like crosshairs. He later took down that version and reposted it without the crosshairs, before taking down the post a second time.

“How hard was it to come up with a photo that didn’t have the crosshairs in the corner?” Ms Jackson asked Mr Stone, the news agency said.