Aaron Mostofsky, a supporter of US President Donald Trump protests in the US Capitol Rotunda on January 6, 2021, in Washington, DC. (Photo by SAUL LOEB/AFP via Getty Images)
CNN  — 

The son of a New York judge was sentenced to eight months behind bars Friday for civil disorder and stealing police equipment during the January 6, 2021 US Capitol attack.

During the riot, Aaron Mostofsky – who prosecutors say was dressed as a caveman during the attack – joined a group of rioters fighting against a line of police officers who were adjusting a fence barricade.

Mostofsky pushed on other rioters to add to the thrust against police. Later, Mostofsky stole a police vest, which he donned on top of his costume that day, and a riot shield which he says were both abandoned.

“You were literally on the front lines of this attack,” district Judge James Boasberg said during the sentencing in a Washington, DC, courtroom. “You were there pushing against police barricades,” he added, noting that Mostofsky was also part of the first group of rioters to enter the Capitol on the side of the Senate wing.

“Without conduct like yours … the barricades wouldn’t have fallen, the Capitol wouldn’t have been overrun, people would not have been killed,” the judge said.

Boasberg, however, said he was “struck by the details” in the over 30 letters he received on Mostofsky’s behalf, describing his charitable work and selflessness. “Those do lessen the time I’m going to give you,” the judge said.

Mostofsky – whose father is Kings County Supreme Court Judge Steven “Shlomo” Mostofsky – pleaded guilty in February to civil disorder, theft of government property and ente