When and how did "Inuit" come to supplant "Eskimo?"

In my 8 years living in Canada’s (sub-)Arctic, I heard exactly one Inuit person refer to himself as Eskimo, one time. He then looked embarassed that he’d said it front of a kallunaaq.