A Tennessee man has been sentenced to ten months in prison for urinating on a Kellogg's cereal conveyor belt at a Memphis facility.

Gregory Stanton, 49, was sentenced Friday in federal court after he pleaded guilty in November to tampering with consumer products.

He was indicted by a grand jury last September for 'tainting consumer products with the intent to cause serious injury to the business of any person'.

Stanton reportedly uploaded footage relieving himself on a conveyor belt. He has now been jailed for 10 months as a result of the crime

Stanton was officially sentenced to prison May 24 by a U.S. District Court judge and was ordered to pay $10,000 in restitution

Gregory Stanton was sentenced to 10 months in prison for urinating on a Kellogg's assembly line and uploading the video to the internet in 2016

An indictment says Stanton was a contract worker at the Kellogg's plant in April 2014 when he recorded a video of himself urinating into a bucket and dumping the contents into the Raisin Bran production line.

He also recorded himself urinating into a production line a month later.

Stanton posted the videos online in 2016 which went viral on WorldStarUncut.com.

Stanton's clip showed him relieving himself on the conveyor belt of cereal.

By the time the general public laid eyes on the video, it was likely the products affected had already been distributed and consumed.

The video led the company to alert law enforcement and launched an investigation that involved the Food & Drug Administration.

'It has been more than two years since this incident came to our attention, and we are pleased that the responsible individual was brought to justice,' A Kellogg's spokesperson told WMC-TV.

'We want to thank the FDA and US attorney's office for their commitment.'

Stanton was officially sentenced to prison May 24 by a U.S. District Court judge and was ordered to pay $10,000 in restitution.

Gregory Stanton pleaded guilty in November to tampering with consumer products. The 49-year-old pleaded guilty to urinating on Kellogg's cereal at a Memphis facility

Kellogg's said in a statement that it is pleased Stanton, pictured, was 'brought to justice'

It's unclear what prompted Stanton to urinate on the line or to film and share the act.

However, WREG-TV reports the company and workers union were involved in a labor dispute at the time.

'American citizens and consumers rely upon food manufacturers engaged in interstate commerce to provide them with safe and consistent products. This defendant betrayed that trust by tampering with and tainting food products,' US Attorney D. Michael Dunavant said.

'We commend the Food and Drug Administration for their investigation in this matter, and we are pleased that the defendant has been held accountable for his criminal conduct.'

Products affected included Raisin Bran, Rice Krispies and Puffed Rice Cakes

Now the focus is on making sure an incident like this is unlikely to be able to occur again.

'Maintaining the safety and wholesomeness of the US food supply is a critical priority for the FDA,' Robert Hiser, Acting Special Agent in Charge at the FDA Office of Criminal Investigations' Miami Field Office said.

In the statement published by the Department of Justice, Hiser added: 'The agency will work with food producers to identify steps that can be taken to remediate incidents that may implicate food safety.

'The announcement should serve as a clear reminder that the FDA will not tolerate illicit tampering activity in our nation's food supply.'