YouTube star Kanghua Ren was just handed a 15 month prison sentence and 20,000 euro ($22,300) fine for a January 2017 video.

The video, which generated widespread outrage online, found Ren giving a homeless man in Barcelona repackaged Oreo cookies filled with toothpaste.

“Maybe I’ve gone a bit far, but look at the positive side: This will help him clean his teeth,” the China-born YouTuber (then 19) known as ReSet said in the video. “I think he hasn’t cleaned them since he became poor.”

The 52-year-old man vomited after ingesting the cookies, later telling a paper that he had, “never been treated so poorly while living on the street.”

Ren was given the sentence on Friday, though The New York Times notes that he’ll likely not actually serve any time, given how nonviolent crimes are generally treated in Spanish court. In addition, his YouTube channel and various social media counts were also ordered shut down for five years.