After an Ohio man was sentenced to decades in prison earlier this month, he lashed out in court — and the judge was not pleased.

Manson Bryant, 32, appeared in Lake County Common Pleas Court in Painesville on March 1. He was charged with aggravated robbery and kidnapping in July 2018 following an alleged home invasion, according to a Facebook post from the Lake County Sheriff's Office.

BROOKYLN MAN, 55, SENTENCED TO DECADES FOR STABBING GIRLFRIEND 20 TIMES TO DEATH

Manson Bryant, 32, was sentenced to 28 years in prison earlier this month in Painesville, Ohio. (Lake County Sheriff’s Office)

Bryant, after expressing remorse for what he did, was sentenced to 22 years in prison by Judge Eugene Lucci. In a video that was released on Tuesday and published by Fox affiliate WJW, Bryant tried to fight back -- seemingly by shouting expletives at the judge.

"F--- your courtroom, you racist-a-- b----! F--- your courtroom, man," Bryant yelled in court. "Twenty-two f------ years! You racist-a-- b----!"

The 32-year-old appeared to be restrained by law enforcement in the court. As a result of his outbursts, Lucci added six years to Bryant's sentence.

"It was clear that the remorse he was trying to portray was phony and that he wasn't remorseful at all," the judge told WJW. "And that if given the chance, if I let him loose on society, he's going to prey on other people."

ELDERLY FLORIDA JEWELRY STORE OWNER, WIFE PUMMEL WOULD-BE ROBBER ON VIDEO

Bryant's attorney in a statement to the news outlet said Bryant "had an emotional and regrettable reaction to" his sentencing.

"He was otherwise very composed throughout the course of his trial, even when the verdict was rendered. He intends to appeal the verdict and sentence, and continues to remain hopeful," the statement continued.

CLICK HERE TO GET THE FOX NEWS APP

Lucci told WOIO Bryant's tirade wasn't his first in front of the judge. In 2014, when Lucci sentenced him to 12 months in prison, he said Bryant walked out of the court saying, "Suck my d---, judge."

"It seems to be a repeat pattern with him," he said.