Three prison terms are handed down