Six years in prison for corrupt chief prosecutor