On the Maximal Invariant set