500
A man named Jack tricked the devil several times, and was forbidden from hell and heaven, and was condemned to wander the earth forever, waving his lantern to lead people away from their paths.
Why is it called a Jack O'Lantern according to Irish legend?