For many rioters who stormed the US Capitol on Jan. 6, self-incriminating messages, photos and videos that they broadcast on social media before, during and after the insurrection are influencing even their criminal sentences.

Earlier this month, U.S. District Judge Amy Jackson read aloud some of Russell Peterson’s posts about the riot before she sentenced the Pennsylvania man to 30 days imprisonment. “Overall I had fun lol,” Peterson posted on Facebook.

The judge told Peterson that his posts made it “extraordinarily difficult” for her to show him leniency.

Also read: Kentucky faces ‘most devastating tornado’ in history

“The ’lol’ particularly stuck in my craw because, as I hope you’ve come to understand, nothing about January 6th was funny,” Jackson added. “No one locked in a room, cowering under a table for hours, was laughing.”

Among the biggest takeaways so far from the Justice Department’s prosecution of the insurrection is how large a role social media has played, with much of the most damning evidence coming from rioters’ own words and videos.

FBI agents have identified scores of rioters from public posts and records subpoenaed from social media platforms. Prosecutors use the posts to build cases. Judge now are citing defendants’ words and images as factors weighing in favor of tougher sentences.

Also read: Biden will do ‘whatever needed’ to help states affected by tornadoes

As of Friday, more than 50 people have been sentenced for federal crimes related to the insurrection. In at least 28 of those cases, prosecutors factored a defendant’s social media posts into their requests for stricter sentences, according to an Associated Press review of court records.

Many rioters used social media to celebrate the violence or spew hateful rhetoric. Others used it to spread misinformation, promote baseless conspiracy theories or play down their actions. Prosecutors also have accused a few defendants of trying to destroy evidence by deleting posts.

Also read: In storm’s aftermath, Kentucky residents struggle with loss

Approximately 700 people have been charged with federal crimes related to the riot. About 150 of them have pleaded guilty. More than 20 defendants have been sentenced to jail or prison terms or to time already served behind bars. Over a dozen others received home confinement sentences.

Rioters’ statements, in person or on social media, aren’t the only consideration for prosecutors or judges. Justice Department sentencing memos say defendants also should be judged by whether they engaged in any violence or damaged property, whether they destroyed evidence, how long they spent inside the Capitol, where they went inside the building and whether they have shown sincere remorse.

Also read: Monstrous tornado hits Kentucky hard as storms leave dozens dead in 5 states

Prosecutors recommended probation for Indiana hair salon owner Dona Sue Bissey, but Judge Tanya Chutkan sentenced her to two weeks in jail for her participation in the riot. The judge noted that Bisssey posted a screenshot of a Twitter post that read, “This is the First time the U.S. Capitol had been breached since it was attacked by the British in 1814.”

“When Ms. Bissey got home, she was not struck with remorse or regret for what she had done,” Chutkan said. “She is celebrating and bragging about her participation in what amounted to an attempted overthrow of the government.”

Also read: ‘Rare, deadly and difficult to predict’: How do tornadoes form?

FBI agents obtained a search warrant for Andrew Ryan Bennett’s Facebook account after getting a tip that the Maryland man live-streamed video from inside the Capitol. Two days before the riot, Bennett posted a Facebook message that said, “You better be ready chaos is coming and I will be in DC on 1/6/2021 fighting for my freedom!.”