Jamie Waylett Jamie Waylett

We're guessing the alohomora spell won't work where this Harry Potter star is going.

Jamie Waylett, who played Malfoy's Slytherin buddy Vincent Crabbe in the Harry Potter films, was sentenced to two years in jail after being found guilty of violent disorder during the London riots, Reuters reports.

Check out the new shows coming out this spring

Waylett, 22, was accused of taking part in the riots last August after being captured on CCTV cameras. He was reportedly pictured with a bomb while drinking stolen champagne. He was cleared of another charge of intending to destroy or damage property with the bomb. He was also sentenced to 12 months for handling stolen goods, which will run concurrently with the two-year sentence.

In 2009, Waylett was brought up on charges for growing marijuana in his home. He served 120 hours of community service.