Crooked adviser is jailed for six years