Former official sentenced to eight years in prison