Ernest Goes to Jail is a 1990 American comedy film directed by John Cherry and starring Jim Varney. It is the fourth film to feature the character Ernest P. Worrell. It was shot in Nashville and Tennessee State Prison. Plot Ernest P. Worrell is employed as a night janitor at the Howard Country Bank & Trust where his friends and neighbors, Chuck and Bobby, work as security guards. While trying to use a floor polisher, Ernest makes an enormous mess that results in him being electrocuted with strange results. His body becomes magnetized and while trying to escape the various objects attracted to him, he goes into the vault but a pair of safety deposit boxes knock him out just as the effect wears off. The next morning, co-worker Charlotte Sparrow, whom Ernest is smitten with, askes him out to “just dinner” to discuss Ernest’s desire to move up and become a clerk. However this goal is hampered by his knuckleheaded antics and the ire earned from bank president, Oscar Pendlesmythe. Meanwhile at the Dracup Penitentiary, convict Rubin Bartlett kills a fellow prisoner and seeks help from Felix Nash, a convicted bank robber and death row inmate. Unable to offer anything in return, Rubin goes on trial. At the same time, Ernest receives a summons to perform jury duty on the same trial. In the courtroom, Rubin notices Ernest has an uncanny resemblance to Nash. In league with Bartlett and Nash, the defense makes a successful motion for the jury to see the scene of the crime so the switch can be made. Nash and his silent yet hulking henchman, Lyle, make the switch. Nash coerces the jury to acquit Rubin while Ernest, unknowingly at first, takes Nash's place. Upon realizing his predicament, Ernest makes a series of unsuccessful attempts to escape the prison while also trying to keep up the ruse that he is Nash out of fear of reprisal. At the same time, Nash is planning to rob the bank but gets distracted trying to keep a suspicious Bobby and his smooth, un-Ernest like demeanor from exposing him. In prison, Ernest is taken to be executed via the electric chair. Having given up on escaping and trying to convince the warden of his identity, Ernest makes a final speech and is electrocuted. The massive voltage puts him in a kind of trance and he becomes magnetized again only