Oscar Wilde was sentenced to two years of hard labor for committing gross acts of indecency with another male person.
He was shuffled around a few different prisons during these two years. There, he was forced to walk on treadmills and perform other mundane but physically exhausting tasks.