A young inmate doused a prison governor in two buckets of his own excrement after she refused to give him more potatoes at lunch.
Calvin Moore, 21, will now spend a further four months in jail for the vile offence, which left the warden suffering from post-traumatic stress disorder.
A court heard Moore challenged the guard in Aylesbury Young Offenders' mess hall after she said there were no potatoes left.
The yob shouted that he would "get her" the next day and, indeed, he threw the buckets of faeces over her on July 6, 2017.
She told Aylesbury Crown Court she was humiliated and "showered for a long, long time".
Moore will now spend a further four months on top of his 13 years in jail. He must pay £200 in compensation at a rate of £2 per week out of his weekly prison earnings of £9.27.

Sentencing him, Judge Francis Sheridan said: "A prison officer is at risk, particularly of copycat offences. There has been a spate of these recently, they must be sick to death of it.
"This defendant has now assaulted and wrecked the career of a prison officer. If it is not considered by the parole board to effect the date of release, then the consequence is to make it fair game: any prison officer you like. Then prison officers won't be running the prisons, prisoners will be running them.
"He [Moore] has not really got that much regret for any of this at all."
The victim has left her job at the prison service and is now working with the counter terrorism police.
The judge added: "The victim is a perfectly hard-working, honest person doing her best to help the prison governor at Aylesbury Young Offenders, known nation-wide for running a highly commendable programme which I support and applaud.
"Her problem is hard working, decent prison officers going to work where there can be and are some very serious criminals who are better known as 'hotheads' who explode with anger over the most trivial complaints, and this defendant is one of them.
"Prison officers object to being treated as objects of pure hatred. That is no part of the criminal justice system."

Speaking in court, the victim said: "Word in prison gets around very quickly, and the fact that I was 'potted' meant that I had to deal with being called 'sh** face'.
"It still happens to this day. I am yet to meet a sympathetic prisoner. They seem to find the whole incident very funny."
Moore, who had his dark hair tied up in two large buns at either side of his head and wore a Nike top, appeared via video link today at the court.
His lawyer said the man was apologetic for the offence.
"The defendant has asked me to apologise sincerely to the prison officer. He does, in my submission, mean that," Marianna Pasteris, defending, said.
"I think what he said at the moment this happened, this was the worst thing he had ever done whilst in prison."
But at this point, the victim spoke to prosecuting barrister Lee Harris, who then told Judge Sheridan: "She wished the court to know that she worked with the defendant for about two months after this incident, he did not apologise in that time."
Ms Pasteris added: "This defendant, at the time of this incident, had been given an extremely long sentence as an 18-year-old, which I think was probably quite difficult for him.
"In my submission, at the time that this happened he was going through a very difficult period. He was fairly polite prior to this incident."