Former principal sentenced