terms of the treaty included wording that said for the sum of about $ 20,000,000 , the united states acquired more than 525,000 square miles of land that included all or part of ten present-day states : california , new mexico , arizona , nevada , utah , wyoming , kansas , oklahoma , and texas .