I will talk about the Ellis group and the structure Furstenberg theorem for distal groups as well as about some attempts to generalize them for the case of pseudogroups of local transformations and foliations.