Anderson sentenced to spend five years in jail