The judge also imposed a $500 fine.