The Spanish continued to rule Mexico until 1821. The codices were owned by a Mexico City family, who requested anonymity.