The office of a representative of a ward terminates when the ward if a minor attains his majority, when the letters of a representative are revoked, when the representative dies or, subject to Section 24-19, when the ward dies. The marriage of a minor ward terminates the right of the minor's guardian to the ward's custody and education but not to the minor's estate.
755 ILCS 5/24-12