This paper is devoted to proving the following result: An artin algebra is of infinite representation type if and only if there is no bound on the lengths of the endomorphism rings of finitely generated indecomposable modules, where the endomorphism rings are viewed as modules over themselves.