The Gogny force has been used in a parameter free cranked mean field calculation to compute the most relevant properties of Er-166 and Yb-166 at high spin. Results for the moment of inertia and transition probabilities are in good agreement with experiment. The role of the neutron i13/2 intruder state in the backbending phenomenon in this region has also been analyzed.