The criminal was beaten and his motorbike burned by an angry crowd.