Williams was convicted of robbing $4,600 from a Bank of America branch in Merchantville during the summer of 2014, according to NJ Advance Media.
"Please, all the money, 100, 50, 20, 10," Williams allegedly wrote in a note to the bank teller. "Thank you."
The central debate of the trial was whether Williams was guilty of robbery or theft. Being convicted of robbery requires one to use or threaten violence to take property, while theft does not.
In order to make the case that Williams deserved the harsher penalty, prosecutors used a photo of Nicholson saying his iconic "Here's Johnny!" line in "The Shining."
In the 1980 horror film, Nicholson's character says the line as he breaks through a door and threatens his terrified family with an ax.