The details were revealed in more than 25,000 pages of records released after a yearslong legal fight by news outlets including ProPublica and The Texas Tribune.