The NCAA’s pain has been Big Law’s gain.

Battered by lawsuits and other controversies, the National Collegiate Athletic Association spent $263 million on outside law firms over the past five years, according to the nonprofit’s Internal Revenue Service filings.