4. (10%) Let $A \in M{n \times n}(\mathbb{C})$. Prove that $\dim(\text{span}(\{In, A, A^2, \dots\})) \leq n$.