A man allegedly carrying crystal meth was arrested by Guelph, Ont., police for driving a motorized bicycle into the restricted area around a film set of a Stephen King miniseries starring American actor James Franco.

The 19-year-old sped his bike Tuesday evening at what police say was a "high speed," past officers working security on Huron Street.

Police were able to stop him inside the barriers.

A search found he was carrying crystal meth, police say.

The man has been charged with:

Dangerous driving.

Four counts of breaching probation.

Three counts of breach of recognizance.

Possession for the purpose of trafficking.

He was also charged under Ontario's Highway Traffic Act for driving without a licence and driving without insurance.

The miniseries, 11/22/63, is based on King's novel about a man who travels through time to try to stop the assassination of U.S. President John F. Kennedy, who was shot dead on Nov. 22, 1963.