A California FBI agent has been sentenced to three years in prison