A teenage 'Star Wars' fan ended up in the jail after he threatened to shoot his friend who spoiled the plot.

Police revealed that the 18-year-old Arthur Charles Roy became enraged after a Facebook friend revealed the plot points of the flick, reports TMZ.com.

Authorities say Roy, who lives in Helena, Montana, sent his friend a photo of himself, with a gun threatening to go to the friend's school and shoot him.

The incident occurred on Thursday and the school was on locked down Friday after which he was attested.